diff options
Diffstat (limited to 'users/tazjin/nixos/modules')
-rw-r--r-- | users/tazjin/nixos/modules/persistence.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/tazjin/nixos/modules/persistence.nix b/users/tazjin/nixos/modules/persistence.nix index 5ed3683740b2..b864d13a8d70 100644 --- a/users/tazjin/nixos/modules/persistence.nix +++ b/users/tazjin/nixos/modules/persistence.nix @@ -1,5 +1,5 @@ # Configuration for persistent (non-home) data. -{ depot, pkgs, lib, ... }: +{ config, depot, pkgs, lib, ... }: { imports = [ @@ -17,7 +17,7 @@ "/var/log" ]; - files = [ + files = lib.optional (builtins.isNull config.networking.hostId) [ "/etc/machine-id" ]; }; |