updates / experimental TC setup
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user