This commit is contained in:
parent
bbe5bdca2d
commit
9f671ce273
2 changed files with 6 additions and 3 deletions
|
@ -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) ];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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. It‘s 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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue