diff options
| author | Fuwn <[email protected]> | 2024-09-21 19:19:41 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-21 19:19:41 -0700 |
| commit | abe9c76cb3c9e1e4f39153647466df8049aa281e (patch) | |
| tree | ffe64ce502d32df9bee451f2e04ca35f86a7943a /modules/server/sops.nix | |
| parent | glance: bookmarks open on same-site (diff) | |
| download | nixos-config-abe9c76cb3c9e1e4f39153647466df8049aa281e.tar.xz nixos-config-abe9c76cb3c9e1e4f39153647466df8049aa281e.zip | |
sops: split hosts
Diffstat (limited to 'modules/server/sops.nix')
| -rw-r--r-- | modules/server/sops.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/server/sops.nix b/modules/server/sops.nix index 1c12ca5..186ec3e 100644 --- a/modules/server/sops.nix +++ b/modules/server/sops.nix @@ -1,6 +1,11 @@ +{ config, ... }: { - sops.secrets = { - "ghcr/user" = { }; - "ghcr/password" = { }; + sops = { + defaultSopsFile = ../../secrets/${config.networking.hostName}.yaml; + + secrets = { + "ghcr/user" = { }; + "ghcr/password" = { }; + }; }; } |