aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiran Bastaja <mbastaja@sorre.xyz>2025-03-10 13:57:25 +0100
committerMiran Bastaja <mbastaja@sorre.xyz>2025-03-10 13:57:52 +0100
commit1bc848a11b9a45cc167df2ec9ef7e2e7f6f798ce (patch)
tree60162e77013294826cb0dfb819f8c5a99a9e2a6c /share
parentf720e54d6a600f6dfa38a28f5f17753d7f25a8ee (diff)
refactor: split gaming out of hyprdesktop
Diffstat (limited to 'share')
-rw-r--r--share/hm-modules/hyprdesktop.nix21
-rw-r--r--share/home/gaming.nix14
2 files changed, 14 insertions, 21 deletions
diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix
index 82adbff..94620a4 100644
--- a/share/hm-modules/hyprdesktop.nix
+++ b/share/hm-modules/hyprdesktop.nix
@@ -43,16 +43,6 @@ in
example = "true";
};
- enableGaming = mkOption {
- type = types.bool;
- default = false;
- example = "true";
- };
- enableWindowsCompat = mkOption {
- type = types.bool;
- default = false;
- example = "true";
- };
enableGitAnnex = mkOption {
type = types.bool;
default = true;
@@ -72,17 +62,6 @@ in
xdg-utils
]
++ lists.optionals cfg.hasBluetooth [ overskride ]
- ++ lists.optionals cfg.enableGaming [
- prismlauncher
- jdk17_headless
- wineWowPackages.wayland
- aisleriot
- heroic
- ]
- ++ lists.optionals (cfg.enableWindowsCompat || cfg.enableGaming) [
- wineWowPackages.wayland
- qemu_kvm
- ]
++ lists.optionals cfg.hasBrightnessCtl [ brightnessctl ]
++ lists.optionals cfg.enableGitAnnex [
git-annex
diff --git a/share/home/gaming.nix b/share/home/gaming.nix
new file mode 100644
index 0000000..d63e66b
--- /dev/null
+++ b/share/home/gaming.nix
@@ -0,0 +1,14 @@
+{ pkgs, ... }:
+{
+ home.packages =
+ [ pkgs.wineWowPackages.wayland ]
+ ++ builtins.attrValues {
+ inherit (pkgs)
+ prismlauncher
+ jdk17_headless
+ aisleriot
+ heroic
+ qemu_kvm
+ ;
+ };
+}