diff options
Diffstat (limited to 'hosts/p-body/default.nix')
| -rw-r--r-- | hosts/p-body/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix index e303e36..e4368b4 100644 --- a/hosts/p-body/default.nix +++ b/hosts/p-body/default.nix @@ -3,6 +3,7 @@ guzzle_api, modulesPath, pkgs, + self, ... }: { imports = [ @@ -25,6 +26,13 @@ hermetic = false; }; + age.secrets.authGH = { + file = "${self}/secrets/hosts/${config.networking.hostName}/authGH.age"; + mode = "440"; + owner = config.users.users.root.name; + inherit (config.users.users.hydra) group; + }; + getchoo.server.secrets.enable = true; networking = { @@ -32,6 +40,10 @@ hostName = "p-body"; }; + nix.extraOptions = '' + !include ${config.age.secrets.authGH.path} + ''; + services = { guzzle-api = { enable = true; |
