diff options
author | tv <tv@krebsco.de> | 2022-11-23 16:40:21 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-11-23 19:15:49 +0100 |
commit | 7b4ea4750ea11e2c4d9f95cc09fbcffe32e66064 (patch) | |
tree | 3b6e16c7074cb8bb3f2e393eb8b5890d9351fae4 /krebs | |
parent | c084136980f9a29f5b42b32731b6dbe22b3366dc (diff) |
krebs hosts: config only if config.krebs.enable
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/3modules/hosts.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/hosts.nix b/krebs/3modules/hosts.nix index ae0136303..bd1bb1652 100644 --- a/krebs/3modules/hosts.nix +++ b/krebs/3modules/hosts.nix @@ -11,7 +11,7 @@ in { }; }; - config = { + config = mkIf config.krebs.enable { networking.hosts = filterAttrs (_name: value: value != []) |