Compare commits
No commits in common. "0a8b2b8e5500501e9efb38122ccaf8e146a7a548" and "5abcc66191dc5323f8b77a7aec7c31b8a17eb007" have entirely different histories.
0a8b2b8e55
...
5abcc66191
|
@ -47,18 +47,17 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
environment.persistence."${cfg.mountPoint}" = {
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
"/etc/adjtime"
|
||||
"/var/lib/systemd/timesync/clock"
|
||||
"/etc/machine-id" # Machine-specific ID
|
||||
"/etc/adjtime" # Clock drift factor and offsets
|
||||
]
|
||||
++ lib.unique cfg.files
|
||||
;
|
||||
|
||||
directories = [
|
||||
"/etc/nixos" # In case it's storage directory of our configuration
|
||||
"/var/log"
|
||||
"/var/log" # Logs
|
||||
"/var/lib/nixos" # UID/GID maps
|
||||
"/var/lib/systemd/coredump"
|
||||
"/var/lib/systemd/coredump" # Coredumps
|
||||
|
||||
"/var/lib/systemd" # FIXME: needed?
|
||||
"/var/spool" # FIXME: needed?
|
||||
|
|
Loading…
Reference in a new issue