From b23cd9e891dd4165828408348daeef35c4a2053d Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 30 Nov 2024 13:31:01 +0000 Subject: [PATCH] fixup! WIP: nixos: system: add persist --- modules/nixos/system/persist/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/nixos/system/persist/default.nix b/modules/nixos/system/persist/default.nix index 6e58502..0a4f036 100644 --- a/modules/nixos/system/persist/default.nix +++ b/modules/nixos/system/persist/default.nix @@ -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 ;