refactor: restructure project to remove profiles, users, ...

This commit is contained in:
Kat Inskip 2022-07-10 12:59:40 -07:00
parent cb3ae5f434
commit 53655a05fc
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
177 changed files with 544 additions and 2877 deletions

View file

@ -1,4 +1,4 @@
{ config, tf, lib, pkgs, ... }:
{ meta, config, tf, lib, pkgs, ... }:
with lib;
@ -189,7 +189,7 @@ in
};
};
})
(mkIf config.deploy.profile.trusted (import config.kw.secrets.repo.znc.source))
(mkIf (meta.trusted ? secrets) (import config.kw.secrets.repo.znc.source))
];
configFile = config.secrets.files.znc-config.path;
};