fixup! WIP: nixos: system: add persist

This commit is contained in:
Bruno BELANYI 2024-11-30 13:31:01 +00:00
parent d5337709c6
commit b23cd9e891

View file

@ -47,8 +47,9 @@ 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
;