aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
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
+ ;
+ };
+}