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 { config = lib.mkIf cfg.enable {
environment.persistence."${cfg.mountPoint}" = { environment.persistence."${cfg.mountPoint}" = {
files = [ files = [
"/etc/machine-id" # Machine-specific ID "/etc/machine-id"
"/etc/adjtime" # Clock drift factor and offsets "/etc/adjtime"
"/var/lib/systemd/timesync/clock"
] ]
++ lib.unique cfg.files ++ lib.unique cfg.files
; ;