Changes
4 changed files (+14/-27)
-
-
@@ -83,9 +83,6 @@# For VSCodium environment.variables.NIXOS_OZONE_WL = "1"; # Enable Podman because I'm weak and need my Arch Linux help I need it I really need it virtualisation.podman.enable = true; # The default CJK font (Unifont) looks atrocious fonts.packages = with pkgs; [ wqy_microhei ]; # Fix broken emojis
-
@@ -122,8 +119,7 @@services.fwupd.enable = true; services.fprintd.enable = true; # Don't enable fprintd for everything # Otherwise SDDM takes 30 seconds to log in # Don't enable fprintd for everything, otherwise SDDM takes 30 seconds to log in security.pam.services = { login.fprintAuth = false; kde.fprintAuth = false;
-
@@ -177,9 +173,7 @@# https://unnamed.website/posts/switch-virtual-keyboard/ systemd.user.services.switch-virtual-keyboard = { wantedBy = [ "default.target" ]; # Yes I know I'm supposed to be a Fish fan # But there's already a Bash script in that post # So let's just use it instead # Yeah I know I'm supposed to be a Fish fan but there's already a Bash script in that post # I've succumbed to the dark side I know script = '' switch() {
-
-
-
@@ -43,8 +43,7 @@}; }; # XVM only has BIOS not UEFI # So no systemd-boot 😠# XVM only has BIOS not UEFI, so no systemd-boot 😠boot.loader.grub.enable = true; # Spooky Xen stuff boot.initrd.availableKernelModules = [
-
@@ -65,7 +64,6 @@# Overlays! Fixed points! nixpkgs.overlays = [ (import ./overlays.nix) ]; # Very creative, I know networking.hostName = "Unnamed-Server"; # The best time zone
-
@@ -79,8 +77,7 @@settings = { # https://forgejo.org/docs/latest/admin/recommendations/#git-over-ssh # https://docs.gitlab.com/administration/git_protocol/ # Is this necessary? # I'm not even GitLabbing # Test using GIT_TRACE_PACKET=1 git ls-remote AcceptEnv = "GIT_PROTOCOL"; # Don't hack me PasswordAuthentication = false;
-
@@ -181,13 +178,12 @@# touch -m --date=@$(git log -1 --format=%ct) $(git show-ref | awk '{print $2}') # https://ch1p.io/cgit-idle-time/ repository-sort = "age"; # This reduces I/O I think # Prevents cgit from scanning the repos on disk every time # To clear cache, restart fcgiwrap-caddy.service cache-size = 64; # No spam plz noplainemail = 1; # The default md2html filter uses python-markdown and is super slow # Instead use MD4C # The default md2html filter uses the super slow python-markdown, so instead use MD4C about-filter = "${pkgs.writeShellScript "md2html" '' ${pkgs.md4c}/bin/md2html --github | sed 's/<a href="\([^/]*\)">/<a href="tree\/\1">/g' ''}";
-
@@ -196,18 +192,16 @@section-from-path = 1; # scan-path MUST be last! # https://wiki.archlinux.org/title/Cgit#readme_files_are_not_found,_about_tab_not_shown # However, toINIWithGlobalSection sorts the keys # But thankfully scan-path is alphabetically near the end # toINIWithGlobalSection sorts the keys, but thankfully scan-path ends up near the end scan-path = "/srv/git"; # Tip: Generate a GitHub-style contrib graph with # https://github.com/tos-kamiya/git-contrib-graph }; }; # I couldn't figure out how to set cache-root for cgit # So instead symlink it # I couldn't figure out how to set cache-root for cgit, so instead symlink it systemd.tmpfiles.rules = [ "L /var/cache/cgit - - - - /var/tmp" ]; # Back up / using btrfs snapshots and btrbk # Back up /srv using btrfs snapshots and btrbk services.btrbk = { sshAccess = [ {
-
-
-
@@ -38,10 +38,9 @@# This is what literally every other distro does boot.tmp.useTmpfs = true; # I NEED ZSTD # NixOS is a disk destroyer # atime is an anti-feature # This should boost perf on XVM # I NEED ZSTD # atime is an anti-feature and disabling it should boost perf on XVM fileSystems."/".options = [ "compress=zstd" "noatime"
-
-
-
@@ -61,11 +61,11 @@}, "nixpkgs": { "locked": { "lastModified": 1749143949, "narHash": "sha256-QuUtALJpVrPnPeozlUG/y+oIMSLdptHxb3GK6cpSVhA=", "lastModified": 1749285348, "narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=", "owner": "NixOS", "repo": "nixpkgs", "rev": "d3d2d80a2191a73d1e86456a751b83aa13085d7d", "rev": "3e3afe5174c561dee0df6f2c2b2236990146329f", "type": "github" }, "original": {
-