Variablize username more

This commit is contained in:
Jimbo 2025-01-03 17:52:33 -05:00
parent 33236aedc6
commit ea3a6db5af
39 changed files with 93 additions and 102 deletions

View file

@ -69,11 +69,11 @@
};
"/persist/.snapshots" = { };
"/jimbo" = {
mountpoint = "/persist/home/jimbo";
"/${config.sysusers.main}" = {
mountpoint = "/persist/home/${config.sysusers.main}";
mountOptions = [ "compress=zstd" "noatime" "ssd" ];
};
"/jimbo/.snapshots" = { };
"/${config.sysusers.main}/.snapshots" = { };
};
};
};
@ -92,6 +92,6 @@
# Needed for impermanence
fileSystems = {
"/persist".neededForBoot = true;
"/persist/home/jimbo".neededForBoot = true;
"/persist/home/${config.sysusers.main}".neededForBoot = true;
};
}