updates / experimental TC setup

This commit is contained in:
2026-10-24 10:44:58 +02:00
parent 3c25fc5d41
commit d36b281a4d
48 changed files with 1147 additions and 718 deletions
+8 -1
View File
@@ -11,7 +11,11 @@
#
# This module sets `disko.devices` so the config can be referenced both
# for partitioning (nixos-anywhere --disko) and for fstab generation.
{config, lib, ...}: let
{
config,
lib,
...
}: let
inherit (lib) mkIf mkOption types;
cfg = config.az.tc;
in {
@@ -37,6 +41,9 @@ in {
disk.main = {
type = "disk";
device = config.az.tc.deployment.diskDevice;
# Disko's VM test defaults to a 2 GiB image. That cannot contain
# our 512 MiB ESP, 4 GiB swap and BTRFS root partition.
imageSize = "8G";
content = {
type = "gpt";
partitions = {