Update Redmond to current standards
This commit is contained in:
parent
1b9fc444bb
commit
fa78231265
2 changed files with 10 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
|
|
@ -68,12 +68,8 @@
|
|||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
};
|
||||
"/persist/.snapshots" = { };
|
||||
|
||||
"/${config.sysusers.main}" = {
|
||||
mountpoint = "/persist/home/${config.sysusers.main}";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
};
|
||||
"/${config.sysusers.main}/.snapshots" = { };
|
||||
"/persist/home/${config.sysusers.main}" = { };
|
||||
"/persist/home/${config.sysusers.main}/.snapshots" = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -90,8 +86,5 @@
|
|||
};
|
||||
|
||||
# Needed for impermanence
|
||||
fileSystems = {
|
||||
"/persist".neededForBoot = true;
|
||||
"/persist/home/${config.sysusers.main}".neededForBoot = true;
|
||||
};
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue