Give NixOS template 16G of additional space using new option
See here for the PR introducing the option: https://github.com/NixOS/nixpkgs/pull/238735
This commit is contained in:
parent
dd40af2093
commit
34f5a8b229
|
@ -8,6 +8,7 @@
|
||||||
cores = 4;
|
cores = 4;
|
||||||
memory = 1024;
|
memory = 1024;
|
||||||
virtio0 = "local-zfs:vm-9999-disk-0,discard=on";
|
virtio0 = "local-zfs:vm-9999-disk-0,discard=on";
|
||||||
|
additionalSpace = "16G";
|
||||||
bios = "ovmf";
|
bios = "ovmf";
|
||||||
net0 = "virtio=00:00:00:00:00:00,bridge=vmbr4,firewall=1";
|
net0 = "virtio=00:00:00:00:00:00,bridge=vmbr4,firewall=1";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# Sources for this configuration:
|
# Sources for this configuration:
|
||||||
# - https://github.com/NixOS/nixpkgs/blob/069de7d3deafab651fd627c8f6d7e4c7b33087a2/nixos/modules/virtualisation/proxmox-image.nix#L6
|
# - https://github.com/NixOS/nixpkgs/blob/069de7d3deafab651fd627c8f6d7e4c7b33087a2/nixos/modules/virtualisation/proxmox-image.nix#L6
|
||||||
|
# - https://github.com/NixOS/nixpkgs/blob/36430fbb1421b3b6e03de32dc150b1227de1beea/nixos/modules/virtualisation/proxmox-image.nix#L72
|
||||||
# - https://git.grzb.de/yuri/nix-infra/-/blob/aa38daeea59f2ca12b7e591de6f8b61565780c48/configuration/nixos-generators/default.nix#L13
|
# - https://git.grzb.de/yuri/nix-infra/-/blob/aa38daeea59f2ca12b7e591de6f8b61565780c48/configuration/nixos-generators/default.nix#L13
|
||||||
# - https://git.grzb.de/yuri/nix-infra/-/blob/aa38daeea59f2ca12b7e591de6f8b61565780c48/flake.nix#L39
|
# - https://git.grzb.de/yuri/nix-infra/-/blob/aa38daeea59f2ca12b7e591de6f8b61565780c48/flake.nix#L39
|
||||||
# - https://pve.proxmox.com/wiki/Manual:_qm.conf
|
# - https://pve.proxmox.com/wiki/Manual:_qm.conf
|
||||||
|
@ -14,6 +15,7 @@
|
||||||
cores = 2;
|
cores = 2;
|
||||||
memory = 512;
|
memory = 512;
|
||||||
virtio0 = "rpool-data:vm-9999-disk-0,discard=on";
|
virtio0 = "rpool-data:vm-9999-disk-0,discard=on";
|
||||||
|
additionalSpace = "16G";
|
||||||
bios = "ovmf";
|
bios = "ovmf";
|
||||||
net0 = "virtio=00:00:00:00:00:00,bridge=vmbr0,firewall=1,tag=999";
|
net0 = "virtio=00:00:00:00:00:00,bridge=vmbr0,firewall=1,tag=999";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue