Update Redmond to current standards

This commit is contained in:
Bun 2025-03-08 17:34:36 -05:00
parent 1b9fc444bb
commit fa78231265
2 changed files with 10 additions and 17 deletions

View file

@ -1,4 +1,4 @@
{ ... }: { pkgs, ... }:
{ {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;

View file

@ -62,18 +62,14 @@
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" ];
}; };
# Impermanence # Impermanence
"/persist" = { "/persist" = {
mountpoint = "/persist"; mountpoint = "/persist";
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" ];
}; };
"/persist/.snapshots" = { }; "/persist/.snapshots" = { };
"/persist/home/${config.sysusers.main}" = { };
"/${config.sysusers.main}" = { "/persist/home/${config.sysusers.main}/.snapshots" = { };
mountpoint = "/persist/home/${config.sysusers.main}";
mountOptions = [ "compress=zstd" "noatime" ];
};
"/${config.sysusers.main}/.snapshots" = { };
}; };
}; };
}; };
@ -90,8 +86,5 @@
}; };
# Needed for impermanence # Needed for impermanence
fileSystems = { fileSystems."/persist".neededForBoot = true;
"/persist".neededForBoot = true;
"/persist/home/${config.sysusers.main}".neededForBoot = true;
};
} }