summaryrefslogtreecommitdiff
path: root/hosts/cloud/secrets.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/cloud/secrets.nix')
-rw-r--r--hosts/cloud/secrets.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/cloud/secrets.nix b/hosts/cloud/secrets.nix
new file mode 100644
index 0000000..d9d5b51
--- /dev/null
+++ b/hosts/cloud/secrets.nix
@@ -0,0 +1,11 @@
+{ config, ... }:
+{
+ sops.defaultSopsFile = ../../secrets/cloud/secrets.yaml;
+ sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
+
+ sops.secrets = {
+ "wg/0xa-mgmt" = {
+ owner = config.users.users.systemd-network.name;
+ };
+ };
+}