refactor: Module to ugaif and readme update

This commit is contained in:
UGA Innovation Factory
2025-12-15 15:32:40 -05:00
committed by Hunter Halloran
parent c46b0aa685
commit 205f03337a
31 changed files with 577 additions and 271 deletions

View File

@@ -8,11 +8,11 @@
# Boot & Storage Configuration
# ============================================================================
# This module defines the Disko partition layout and bootloader settings.
# It exposes 'host.filesystem' options to allow per-host overrides of
# It exposes 'ugaif.host.filesystem' options to allow per-host overrides of
# the target device and swap size.
{
options.host = {
options.ugaif.host = {
filesystem = {
device = lib.mkOption {
type = lib.types.str;
@@ -45,7 +45,7 @@
disko.devices = {
disk.main = {
type = "disk";
device = config.host.filesystem.device;
device = config.ugaif.host.filesystem.device;
content = {
type = "gpt";
partitions = {
@@ -71,7 +71,7 @@
swap = {
name = "swap";
label = "swap";
size = config.host.filesystem.swapSize;
size = config.ugaif.host.filesystem.swapSize;
content = {
type = "swap";
};