feat: Unify lxc and systems config

This commit is contained in:
UGA Innovation Factory
2025-12-10 10:23:28 -05:00
committed by Hunter Halloran
parent 01d1a36650
commit bcacfd2ca1
5 changed files with 112 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ in
type = types.enum [
"desktop"
"kiosk"
"headless"
];
default = "desktop";
description = "Type of system configuration: 'desktop' for normal OS, 'kiosk' for tablet/kiosk mode.";
@@ -110,5 +111,15 @@ in
;
}
))
(mkIf (cfg.type == "headless") (
import ./headless {
inherit
config
lib
pkgs
inputs
;
}
))
]);
}