chore: Add base configuration.
This commit is contained in:
parent
a92de43a60
commit
612c7e2f16
18 changed files with 700 additions and 10 deletions
12
system/sops.nix
Executable file
12
system/sops.nix
Executable 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue