move persist to nixos system

This commit is contained in:
Sam 2024-05-17 09:15:46 +01:00
parent 07f064e4fd
commit 12229e57b6
2 changed files with 5 additions and 9 deletions

View File

@ -33,14 +33,6 @@
'';
};
home.persistence."/persist/home" = {
directories = [
".gnupg"
".ssh"
];
allowOther = true;
};
home.file = {
};

View File

@ -19,7 +19,7 @@
];
fileSystems."/persist".neededForBoot = true;
environment.persistence."/persist/system" = {
environment.persistence."/persist" = {
hideMounts = true;
directories = [
"/etc/nixos"
@ -28,6 +28,10 @@
"/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections"
];
users.talyz = {
directories = [
".ssh"
];
};
nixpkgs = {