template2: add filesystem definitions to support normal builds #8

Merged
torjus merged 1 commits from template2-fix-normal-build into master 2026-02-01 10:19:30 +00:00
Showing only changes of commit 2aeed8f231 - Show all commits

View File

@@ -25,6 +25,15 @@
];
boot.extraModulePackages = [ ];
# Filesystem configuration matching Proxmox image builder output
fileSystems."/" = lib.mkDefault {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
options = [ "x-systemd.growfs" ];
};
swapDevices = lib.mkDefault [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction