feat(nix): add graphical module, pass option to nixosSystem

This commit is contained in:
Mohammad Rafiq 2025-07-07 22:19:38 +08:00
parent c2bae8cd85
commit df06e092d6
No known key found for this signature in database
5 changed files with 73 additions and 29 deletions

View file

@ -22,7 +22,10 @@ let
name: value:
if class == "nixos" then
nixosSystem {
specialArgs.hostName = name;
specialArgs = {
inherit (value) graphical;
hostName = name;
};
modules = [
cfg.modules.nixos.default
inputs.home-manager.nixosModules.home-manager