diff --git a/users/tazjin/nixos/modules/persistence.nix b/users/tazjin/nixos/modules/persistence.nix index 5ed368374..b864d13a8 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" ]; };