mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Trusted profile requirement
This commit is contained in:
parent
a55342d0a4
commit
4d0b9322f5
2 changed files with 4 additions and 4 deletions
|
|
@ -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 ];
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue