nixfiles/config/common-lxc.nix
2024-01-17 14:34:33 +01:00

15 lines
346 B
Nix

{ config, pkgs, lib, modulesPath, ... }:
with lib; {
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
];
proxmoxLXC = {
manageNetwork = true;
manageHostName = true;
};
kyouma.machine-type.virtual = true;
kyouma.machine-type.headless = true;
deployment.tags = [ "pve-lxc" ];
networking.useDHCP = false;
}