auto unseal hades
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Vivian 2023-04-28 16:24:00 +02:00
parent bbe5bdca2d
commit 9f671ce273
2 changed files with 6 additions and 3 deletions

View file

@ -125,14 +125,14 @@
proxmox-lxc = nixos-generators.nixosGenerate {
inherit pkgs;
format = "proxmox-lxc";
modules = (util.base_imports)
modules = util.base_imports
++ [ (import ./nixos/templates/proxmox-lxc.nix) ];
};
proxmox-vm = nixos-generators.nixosGenerate {
inherit system pkgs;
format = "proxmox";
modules = (util.base_imports)
modules = util.base_imports
++ [ (import ./nixos/templates/proxmox-vm.nix) ];
};
};

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, hosts, ... }: {
_: {
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
@ -16,5 +16,8 @@
enable = true;
openFirewall = true;
node_id = "hades-1";
autoUnseal = true;
autoUnsealKeysFile = "/var/lib/vault-unseal/keys.json";
};
}