mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Update persist etc files
This commit is contained in:
parent
d6f3800246
commit
ae295eb241
1 changed files with 1 additions and 9 deletions
|
|
@ -6,15 +6,7 @@ with lib; {
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
directories =
|
directories =
|
||||||
[ "/var/lib/nixos" "/var/lib/systemd/coredump" "/etc/nixos" ];
|
[ "/var/lib/nixos" "/var/lib/systemd/coredump" "/etc/nixos" ];
|
||||||
files = [
|
files = [ "/etc/machine-id" ];
|
||||||
"/etc/machine-id"
|
|
||||||
"/etc/passwd"
|
|
||||||
"/etc/group"
|
|
||||||
"/etc/shadow"
|
|
||||||
"/etc/subgid"
|
|
||||||
"/etc/subuid"
|
|
||||||
"/etc/sudoers"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.postResumeCommands = lib.mkAfter ''
|
boot.initrd.postResumeCommands = lib.mkAfter ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue