aboutsummaryrefslogtreecommitdiff
path: root/hosts/underworld/sops.nix
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-09-12 19:15:09 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-09-15 05:55:39 +0200
commitbf375e2eb4af03ac1ebfd56e1a1b5d708a537628 (patch)
tree1b473abc159d8a560e4d44d54cd80911fa8b29e5 /hosts/underworld/sops.nix
parent684d7e3fe4be707b606dfec75e5164b7c406e6a8 (diff)
Fix sops config
Diffstat (limited to 'hosts/underworld/sops.nix')
-rw-r--r--hosts/underworld/sops.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/underworld/sops.nix b/hosts/underworld/sops.nix
new file mode 100644
index 0000000..9c4a211
--- /dev/null
+++ b/hosts/underworld/sops.nix
@@ -0,0 +1,12 @@
+{ config, ... }:
+{
+ sops = {
+ age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
+ defaultSopsFile = ../../secrets/credentials.json;
+ secrets = {
+ "irc/libera-password" = {
+ owner = config.users.users.osiris.name;
+ };
+ };
+ }; # end of sops
+}