From a4ffe9d04307273857c77ad1267d876db05d212c Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 3 Mar 2026 19:33:20 +0100 Subject: [PATCH] chore: preparing for new install. --- hosts/skadi/configuration.nix | 60 +++++++++++++++++------------------ hosts/skadi/disk-config.nix | 8 ++--- hosts/skadi/home.nix | 32 +++++++++---------- 3 files changed, 50 insertions(+), 50 deletions(-) diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index 6eace0b..72adc22 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -16,16 +16,16 @@ boot.initrd.systemd.enable = true; # To explicitly disable systemd-boot, lanzaboote takes care of that. - boot.loader.systemd-boot.enable = lib.mkForce false; + boot.loader.systemd-boot.enable = lib.mkForce true; # Bootloader. - boot.lanzaboote = { - enable = true; - pkiBundle = "/var/lib/sbctl"; - autoEnrollKeys = { - enable = true; - }; - }; + # boot.lanzaboote = { + # enable = true; + # pkiBundle = "/var/lib/sbctl"; + # autoEnrollKeys = { + # enable = true; + # }; + # }; # Enable aarch64 emulation boot.binfmt.emulatedSystems = ["aarch64-linux"]; @@ -33,7 +33,7 @@ # Disable intel watchdog for good boot.blacklistedKernelModules = ["intel_pmc_bxt" "iTCO_vendor_support" "iTCO_wdt"]; - # Use the xanmod kernel + # Use the cachyos kernel boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v3; # Setup userspace schedulers @@ -145,38 +145,38 @@ users.users.crony = { isNormalUser = true; description = "Crony"; - hashedPasswordFile = "${config.age.secrets.crony-passwd.path}"; + # hashedPasswordFile = "${config.age.secrets.crony-passwd.path}"; extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat" "pipewire"]; }; - users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}"; + # users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}"; - users.mutableUsers = false; + # users.mutableUsers = false; # Enable my flake specific settings - crony.gaming.enable = true; - crony.additional-hardware.enable = true; - crony.hyprland-nixos.enable = true; - crony.nfs-share.enable = true; - crony.sddm.enable = true; - crony.wireguard.enable = true; - crony.secrets.enable = true; - crony.boot.enable = true; - crony.ollama.enable = true; - crony.sunshine.enable = true; - crony.bluetooth.enable = true; - crony.localsend.enable = true; - crony.flatpak.enable = true; - crony.qemu.enable = true; - crony.pc-services.enable = true; - crony.pipewire.enable = true; + # crony.gaming.enable = true; + # crony.additional-hardware.enable = true; + # crony.hyprland-nixos.enable = true; + # crony.nfs-share.enable = true; + # crony.sddm.enable = true; + # crony.wireguard.enable = true; + # crony.secrets.enable = true; + # crony.boot.enable = true; + # crony.ollama.enable = true; + # crony.sunshine.enable = true; + # crony.bluetooth.enable = true; + # crony.localsend.enable = true; + # crony.flatpak.enable = true; + # crony.qemu.enable = true; + # crony.pc-services.enable = true; + # crony.pipewire.enable = true; # Mount additional drive for games fileSystems."/mnt/games" = { device = "/dev/disk/by-uuid/f747508e-6b2f-474a-88cf-759a221cff46"; fsType = "btrfs"; options = [ - "compress=zstd" + "compress-force=zstd:3" "noatime" ]; }; @@ -186,7 +186,7 @@ device = "/dev/disk/by-uuid/3f2ab7ec-5b78-4686-b909-77fa6f4241b5"; fsType = "btrfs"; options = [ - "compress=zstd" + "compress-force=zstd:3" "noatime" ]; }; diff --git a/hosts/skadi/disk-config.nix b/hosts/skadi/disk-config.nix index a496f62..f76cd42 100644 --- a/hosts/skadi/disk-config.nix +++ b/hosts/skadi/disk-config.nix @@ -8,7 +8,7 @@ type = "gpt"; partitions = { ESP = { - size = "512M"; + size = "1G"; type = "EF00"; content = { type = "filesystem"; @@ -30,21 +30,21 @@ "@" = { mountpoint = "/"; mountOptions = [ - "compress=zstd" + "compress-force=zstd:1" "noatime" ]; }; "@home" = { mountpoint = "/home"; mountOptions = [ - "compress=zstd" + "compress-force=zstd:1" "noatime" ]; }; "@nix" = { mountpoint = "/nix"; mountOptions = [ - "compress=zstd" + "compress-force=zstd:1" "noatime" ]; }; diff --git a/hosts/skadi/home.nix b/hosts/skadi/home.nix index e0599e5..6bcddc5 100644 --- a/hosts/skadi/home.nix +++ b/hosts/skadi/home.nix @@ -38,22 +38,22 @@ }; # Enable crony flake specific settings - crony.mangohud.enable = true; - crony.gaming.enable = true; - crony.flatpak.enable = true; - crony.wayland.enable = true; - crony.hyprland.enable = true; - crony.neovim.enable = true; - crony.mpv.enable = true; - crony.desktop.enable = true; - crony.shell-additions.enable = true; - crony.home-secrets.enable = true; - crony.restic.enable = true; - crony.emulators.enable = true; - crony.zen-browser.enable = true; - crony.lnxlink.enable = true; - crony.yazi.enable = true; - crony.obs-studio.enable = true; + # crony.mangohud.enable = true; + # crony.gaming.enable = true; + # crony.flatpak.enable = true; + # crony.wayland.enable = true; + # crony.hyprland.enable = true; + # crony.neovim.enable = true; + # crony.mpv.enable = true; + # crony.desktop.enable = true; + # crony.shell-additions.enable = true; + # crony.home-secrets.enable = true; + # crony.restic.enable = true; + # crony.emulators.enable = true; + # crony.zen-browser.enable = true; + # crony.lnxlink.enable = true; + # crony.yazi.enable = true; + # crony.obs-studio.enable = true; # DO NOT CHANGE ALSO home.stateVersion = "24.11"; # Please read the comment before changing.