feat: Unify lxc and systems config
This commit is contained in:
committed by
Hunter Halloran
parent
01d1a36650
commit
bcacfd2ca1
@@ -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
|
||||
;
|
||||
}
|
||||
))
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user