diff options
Diffstat (limited to 'features/system/gui')
| -rw-r--r-- | features/system/gui/apps/steam.nix | 31 | ||||
| -rw-r--r-- | features/system/gui/apps/virtualbox.nix | 8 | ||||
| -rw-r--r-- | features/system/gui/apps/vmware.nix | 8 | ||||
| -rw-r--r-- | features/system/gui/desktops/niri.nix | 9 |
4 files changed, 0 insertions, 56 deletions
diff --git a/features/system/gui/apps/steam.nix b/features/system/gui/apps/steam.nix deleted file mode 100644 index 046b814..0000000 --- a/features/system/gui/apps/steam.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: let - cfg = config.features.gui.apps.steam; -in { - options.features.gui.apps.steam.enable = lib.mkEnableOption "steam"; - config = lib.mkIf cfg.enable { - programs.steam = { - enable = true; - remotePlay.openFirewall = true; - dedicatedServer.openFirewall = true; - gamescopeSession.enable = true; - protontricks.enable = true; - extraCompatPackages = with pkgs; [ - proton-ge-bin - ]; - }; - hardware.steam-hardware.enable = true; - programs.gamemode.enable = true; - environment.systemPackages = [pkgs.mangohud]; - - # Steam Launch Options - # Add this to 3D games: - # LD_PRELOAD="" gamescope --force-grab-cursor --backend sdl -bf -W 1600 -H 900 -- %command% - # Add this to 2D games: - # LD_PRELOAD="" gamescope -bf -W 1600 -H 900 -- %command% - }; -} diff --git a/features/system/gui/apps/virtualbox.nix b/features/system/gui/apps/virtualbox.nix deleted file mode 100644 index 0b633c7..0000000 --- a/features/system/gui/apps/virtualbox.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ config, lib, ... }: let - cfg = config.features.gui.apps.virtualbox; -in { - options.features.gui.apps.virtualbox.enable = lib.mkEnableOption "virtualbox"; - config = lib.mkIf cfg.enable { - virtualisation.virtualbox.host.enable = true; - }; -} diff --git a/features/system/gui/apps/vmware.nix b/features/system/gui/apps/vmware.nix deleted file mode 100644 index 4da3f09..0000000 --- a/features/system/gui/apps/vmware.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ config, lib, ... }: let - cfg = config.features.gui.apps.vmware; -in { - options.features.gui.apps.vmware.enable = lib.mkEnableOption "vmware"; - config = lib.mkIf cfg.enable { - virtualisation.vmware.host.enable = true; - }; -} diff --git a/features/system/gui/desktops/niri.nix b/features/system/gui/desktops/niri.nix deleted file mode 100644 index c68a4b6..0000000 --- a/features/system/gui/desktops/niri.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, lib, inputs, ... }: let - cfg = config.features.gui.desktops.niri; -in { - imports = [ inputs.niri.nixosModules.niri ]; - options.features.gui.desktops.niri.enable = lib.mkEnableOption "niri"; - config = lib.mkIf cfg.enable { - programs.niri.enable = true; - }; -} |
