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
Owner

Add filesystem configuration matching Proxmox image builder output
to allow template2 to build with both nixos-rebuild build and
nixos-rebuild build-image --image-variant proxmox.

Filesystem specs discovered from running VM:

  • ext4 filesystem with label "nixos"
  • x-systemd.growfs option for automatic partition growth
  • No swap partition

Using lib.mkDefault ensures these definitions work for normal builds
while allowing the Proxmox image builder to override when needed.

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

Add filesystem configuration matching Proxmox image builder output to allow template2 to build with both `nixos-rebuild build` and `nixos-rebuild build-image --image-variant proxmox`. Filesystem specs discovered from running VM: - ext4 filesystem with label "nixos" - x-systemd.growfs option for automatic partition growth - No swap partition Using lib.mkDefault ensures these definitions work for normal builds while allowing the Proxmox image builder to override when needed. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
torjus added 1 commit 2026-02-01 10:19:16 +00:00
template2: add filesystem definitions to support normal builds
Some checks failed
Run nix flake check / flake-check (pull_request) Successful in 2m17s
Run nix flake check / flake-check (push) Failing after 16m59s
2aeed8f231
Add filesystem configuration matching Proxmox image builder output
to allow template2 to build with both `nixos-rebuild build` and
`nixos-rebuild build-image --image-variant proxmox`.

Filesystem specs discovered from running VM:
- ext4 filesystem with label "nixos"
- x-systemd.growfs option for automatic partition growth
- No swap partition

Using lib.mkDefault ensures these definitions work for normal builds
while allowing the Proxmox image builder to override when needed.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
torjus merged commit 30addc5116 into master 2026-02-01 10:19:30 +00:00
torjus deleted branch template2-fix-normal-build 2026-02-01 10:19:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: torjus/nixos-servers#8