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