move persist to nixos system
This commit is contained in:
parent
07f064e4fd
commit
12229e57b6
|
@ -33,14 +33,6 @@
|
|||
'';
|
||||
};
|
||||
|
||||
home.persistence."/persist/home" = {
|
||||
directories = [
|
||||
".gnupg"
|
||||
".ssh"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
|
||||
home.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 = {
|
||||
|
|
Loading…
Reference in New Issue