summaryrefslogtreecommitdiff
path: root/flora/configuration.nix
diff options
context:
space:
mode:
authorstuebinm2023-04-11 18:37:20 +0200
committerstuebinm2023-04-11 18:41:13 +0200
commit48d3f66855fb57379351fb9a458a95cf28522916 (patch)
tree730f4f9186a5a7f52e64236417ec384968eb96fd /flora/configuration.nix
parent4e4eaf4838bbd45393d7a19ad182c8d4c076b043 (diff)
manage secrets with sops
not sure if i like this yet, but it seems worth trying it out.
Diffstat (limited to 'flora/configuration.nix')
-rw-r--r--flora/configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flora/configuration.nix b/flora/configuration.nix
index 3eaaa08..954e5e6 100644
--- a/flora/configuration.nix
+++ b/flora/configuration.nix
@@ -19,6 +19,10 @@
boot.loader.grub.version = 2;
boot.loader.grub.devices = [ "/dev/sda" ];
+ sops.defaultSopsFile = ../secrets/flora.yaml;
+ # This will automatically import SSH keys as age keys
+ sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
+
networking = {
hostName = "flora";