move persist to nixos system
This commit is contained in:
parent
07f064e4fd
commit
12229e57b6
|
@ -32,14 +32,6 @@
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home.persistence."/persist/home" = {
|
|
||||||
directories = [
|
|
||||||
".gnupg"
|
|
||||||
".ssh"
|
|
||||||
];
|
|
||||||
allowOther = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/persist".neededForBoot = true;
|
fileSystems."/persist".neededForBoot = true;
|
||||||
environment.persistence."/persist/system" = {
|
environment.persistence."/persist" = {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
directories = [
|
directories = [
|
||||||
"/etc/nixos"
|
"/etc/nixos"
|
||||||
|
@ -28,6 +28,10 @@
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
];
|
];
|
||||||
|
users.talyz = {
|
||||||
|
directories = [
|
||||||
|
".ssh"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|
Loading…
Reference in New Issue