forked from Drift/pvv-nixos-config
Add sops for secret management
This commit is contained in:
@@ -4,6 +4,8 @@ let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
<sops-nix/modules/sops>
|
||||
|
||||
# Include the results of the hardware scan.
|
||||
../../hardware-configuration.nix
|
||||
|
||||
@@ -23,6 +25,13 @@ in
|
||||
inherit unstable;
|
||||
};
|
||||
|
||||
|
||||
sops.defaultSopsFile = ../../secrets/jokum/jokum.yaml;
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
|
||||
sops.age.generateKey = true;
|
||||
|
||||
|
||||
# Use the GRUB 2 boot loader.
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.version = 2;
|
||||
|
Reference in New Issue
Block a user