Trusted profile requirement

This commit is contained in:
kat witch 2021-08-29 01:19:41 +01:00
parent a55342d0a4
commit 4d0b9322f5
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
{ config, lib, kw, ... }:
with lib;
{
imports = [
config.kw.repoSecrets.nfs.source
];
imports = optional config.deploy.profile.trusted (singleton config.kw.repoSecrets.nfs.source);
network.firewall = {
private.tcp.ports = [ 111 2049 ];

View file

@ -165,7 +165,7 @@ in {
};
};
})
(import config.kw.repoSecrets.znc.source)
(mkIf config.deploy.profile.trusted (import config.kw.repoSecrets.znc.source))
];
configFile = config.secrets.files.znc-config.path;
};