From 1a5575bab88e2f3e3409e2b9b54f6f25bbace8e9 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 10 Jan 2023 00:12:15 +0100 Subject: rotate secrets, retire microwave, comission toaster --- hosts/toaster/secrets.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hosts/toaster/secrets.nix (limited to 'hosts/toaster/secrets.nix') diff --git a/hosts/toaster/secrets.nix b/hosts/toaster/secrets.nix new file mode 100644 index 0000000..4cf23d7 --- /dev/null +++ b/hosts/toaster/secrets.nix @@ -0,0 +1,20 @@ +{ config, ... }: +{ + sops.defaultSopsFile = ../../secrets/toaster/secrets.yaml; + sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; + + sops.secrets = { + "wg/zw" = { + owner = config.users.users.systemd-network.name; + }; + "wg/dvb" = { + owner = config.users.users.systemd-network.name; + }; + "wg/mullvad" = { + owner = config.users.users.systemd-network.name; + }; + "wg/oxalab" = { + owner = config.users.users.systemd-network.name; + }; + }; +} -- cgit v1.3.1