Move izanagi configs to new structure

This commit is contained in:
Alexander
2025-08-03 21:12:53 +02:00
parent b1bd7dcda8
commit 04e65f4939
11 changed files with 21 additions and 36 deletions
+18
View File
@@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
{
sops = {
defaultSopsFile = ./secrets/secrets.yaml;
age = {
# This will automatically import SSH keys as age keys
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
# This is using an age key that is expected to already be in the filesystem
keyFile = "/var/lib/sops-nix/key.txt";
# This will generate a new key if the key specified above does not exist
generateKey = true;
# This is the actual specification of the secrets.
};
secrets = { "user_password" = { neededForUsers = true; }; };
};
}