refactor: move secrets off-shore
This commit is contained in:
parent
0ecc1cbf40
commit
d3d0ae8fcb
23 changed files with 231 additions and 179 deletions
|
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}: let
|
||||
ookflixLib = import ../lib.nix {inherit self lib config;};
|
||||
inherit (ookflixLib) mkServiceUser mkServiceSecret mkServiceStateDir mkServiceStateFile;
|
||||
inherit (ookflixLib) mkServiceUser mkServiceStateDir mkServiceStateFile;
|
||||
inherit (lib) mkIf;
|
||||
inherit (ook.lib.container) mkContainerEnvironment mkContainerLabel mkContainerPort;
|
||||
inherit (config.ooknet) server;
|
||||
|
|
@ -19,7 +19,6 @@ in {
|
|||
traefikStateDir = mkServiceStateDir "traefik";
|
||||
traefikAcmeFile = mkServiceStateFile "traefik" "acme.json";
|
||||
};
|
||||
age.secrets = mkServiceSecret "cf_creds" "traefik";
|
||||
virtualisation.oci-containers.containers = {
|
||||
# vpn container
|
||||
traefik = mkIf traefik.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue