21 lines
420 B
Nix
21 lines
420 B
Nix
{ config, pkgs, lib, modulesPath, ... }:
|
|
|
|
with lib; {
|
|
imports = [
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
];
|
|
proxmoxLXC = {
|
|
manageNetwork = true;
|
|
manageHostName = true;
|
|
};
|
|
kyouma ={
|
|
machine-type.virtual = true;
|
|
deployment = {
|
|
tags = [ "pve-lxc" ];
|
|
upgradeSystem.allowReboot = false;
|
|
};
|
|
};
|
|
|
|
networking.useDHCP = false;
|
|
networking.useHostResolvConf = false;
|
|
}
|