chore: Add base configuration.

This commit is contained in:
Tera << 8 2025-05-04 23:29:29 -04:00
parent a92de43a60
commit 612c7e2f16
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
18 changed files with 700 additions and 10 deletions

12
system/sops.nix Executable file
View file

@ -0,0 +1,12 @@
{inputs, ...}: {
imports = [
inputs.sops-nix.nixosModules.sops
];
sops.defaultSopsFile = "${../secrets/secrets.yaml}";
sops.validateSopsFiles = false;
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/persist/var/lib/sops-nix/key.txt";
sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
sops.age.generateKey = true;
}