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 {
|
proxmox-lxc = nixos-generators.nixosGenerate {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
format = "proxmox-lxc";
|
format = "proxmox-lxc";
|
||||||
modules = (util.base_imports)
|
modules = util.base_imports
|
||||||
++ [ (import ./nixos/templates/proxmox-lxc.nix) ];
|
++ [ (import ./nixos/templates/proxmox-lxc.nix) ];
|
||||||
};
|
};
|
||||||
|
|
||||||
proxmox-vm = nixos-generators.nixosGenerate {
|
proxmox-vm = nixos-generators.nixosGenerate {
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
format = "proxmox";
|
format = "proxmox";
|
||||||
modules = (util.base_imports)
|
modules = util.base_imports
|
||||||
++ [ (import ./nixos/templates/proxmox-vm.nix) ];
|
++ [ (import ./nixos/templates/proxmox-vm.nix) ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, hosts, ... }: {
|
_: {
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
@ -16,5 +16,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
node_id = "hades-1";
|
node_id = "hades-1";
|
||||||
|
|
||||||
|
autoUnseal = true;
|
||||||
|
autoUnsealKeysFile = "/var/lib/vault-unseal/keys.json";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue