mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-01 10:23:57 +01: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:
1 parent
35f9816db9
commit
070aeae8db
8 files changed
+191
-125
No files matched your search
@@ -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