feat: gaming (#223)

* refactor: configure gaming suite via options, use pkgs-x64
* fix: gaming on apple silicon (not work yet)
This commit is contained in:
Ryan Yin
2025-09-17 13:54:27 +08:00
committed by GitHub
parent 35f9816db9
commit 070aeae8db
8 changed files with 191 additions and 125 deletions

View File

@@ -33,14 +33,23 @@ let
modules.desktop.wayland.enable = true;
modules.secrets.desktop.enable = true;
modules.secrets.preservation.enable = true;
# not supported yet
modules.desktop.gaming.enable = false;
}
];
home-modules =
(map mylib.relativeToRoot [
# common
"home/linux/gui.nix"
# host specific
"hosts/12kingdoms-${name}/home.nix"
])
++ [
{
# not supported yet
modules.desktop.gaming.enable = false;
}
];
home-modules = map mylib.relativeToRoot [
# common
"home/linux/gui.nix"
# host specific
"hosts/12kingdoms-${name}/home.nix"
];
};
modules-hyprland = {
@@ -48,7 +57,9 @@ let
]
++ base-modules.nixos-modules;
home-modules = [
{ modules.desktop.hyprland.enable = true; }
{
modules.desktop.hyprland.enable = true;
}
]
++ base-modules.home-modules;
};