mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-31 14:43:11 +02:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user