diff --git a/modules/nixos/system/persist/default.nix b/modules/nixos/system/persist/default.nix index e0a1eeb..212f902 100644 --- a/modules/nixos/system/persist/default.nix +++ b/modules/nixos/system/persist/default.nix @@ -50,7 +50,7 @@ in "/etc/machine-id" # Machine-specific ID "/etc/adjtime" # Clock drift factor and offsets ] - ++ cfg.files + ++ lib.unique cfg.files ; directories = [ @@ -59,7 +59,7 @@ in "/var/lib/nixos" # UID/GID maps "/var/lib/systemd/coredump" # Coredumps ] - ++ cfg.directories + ++ lib.unique cfg.directories ; }; };