diff options
| author | Max Audron <audron@cocaine.farm> | 2024-08-12 19:26:32 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2024-08-12 19:26:32 +0200 |
| commit | 7909673ca2bbda2cc9f83cafeae09b13b24a4a8a (patch) | |
| tree | 7398acfb425f0929ef47b58e73adce0178a5f96c /modules | |
| parent | add pastor deployment (diff) | |
move catinator secrets to be managed by secrets module
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/catinator/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/catinator/default.nix b/modules/catinator/default.nix index d6224a6..dc58f7b 100644 --- a/modules/catinator/default.nix +++ b/modules/catinator/default.nix @@ -3,8 +3,15 @@ { imports = [ catinator.nixosModules.default ]; + secrets = { + catinator = { + source = ../../secrets/catinator; + dest = "/etc/secrets/catinator"; + }; + }; + services.catinator = { - environmentFile = ../../secrets/catinator; + environmentFile = "/etc/secrets/catinator"; settings = { release = { |
