properly inherit enable on servers
This commit is contained in:
@@ -8,7 +8,7 @@ in
|
||||
config = lib.mkIf (cfg.enable && config.my.secureHost) {
|
||||
sops.secrets."private_cache_keys/atticd".sopsFile = ../../secrets/keys.yaml;
|
||||
services.atticd = {
|
||||
enable = true;
|
||||
inherit (cfg) enable;
|
||||
environmentFile = config.sops.secrets."private_cache_keys/atticd".path;
|
||||
settings = {
|
||||
listen = "[::]:${toString cfg.port}";
|
||||
|
||||
Reference in New Issue
Block a user