updates / experimental TC setup
This commit is contained in:
@@ -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