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
@@ -2,7 +2,11 @@
#
# Q18 decision: Auto-Upgrade pro Host daily, Generation-Picker + BTRFS-
# Snapshot für Rollback, Auto-Reboot nach Kernel-Update.
{config, lib, ...}: let
{
config,
lib,
...
}: let
inherit (lib) mkIf;
cfg = config.az.tc;
in {
@@ -14,7 +18,6 @@ in {
flake = "git+https://code.m3ta.dev/m3tam3re/AZ-NIX-CLIENTS";
flags = [
"--no-write-lock-file"
"--refresh"
];
allowReboot = true;
rebootWindow = {
+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 = {