added secureHost flag
This commit is contained in:
@@ -5,7 +5,7 @@ let
|
||||
in
|
||||
{
|
||||
options.my.servers.atticd = setup.mkOptions "atticd" "cache" 2343;
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = lib.mkIf (cfg.enable && config.my.secureHost) {
|
||||
sops.secrets."private_cache_keys/atticd".sopsFile = ../../secrets/keys.yaml;
|
||||
services.atticd = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user