about summary refs log tree commit diff
path: root/modules/nixos/games
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-26 16:17:07 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-26 16:17:07 +0300
commit1b8d6874af2804424367c08c5f91e9566a8eb9c9 (patch)
tree66d908ab22f0f23fcd1d0a7146067a7085dfcf78 /modules/nixos/games
parent2023-11-26 (diff)
2023-11-26
Diffstat (limited to '')
-rw-r--r--modules/nixos/games/default.nix1
-rw-r--r--modules/nixos/games/gog.nix18
-rw-r--r--modules/nixos/games/lutris.nix8
3 files changed, 5 insertions, 22 deletions
diff --git a/modules/nixos/games/default.nix b/modules/nixos/games/default.nix
index 1c5766b..78aae62 100644
--- a/modules/nixos/games/default.nix
+++ b/modules/nixos/games/default.nix
@@ -8,7 +8,6 @@ with lib; let
 in {
   imports = [
     ./gamemode.nix
-    ./gog.nix
     ./lutris.nix
     ./mangohud.nix
     ./minecraft.nix
diff --git a/modules/nixos/games/gog.nix b/modules/nixos/games/gog.nix
deleted file mode 100644
index 86039f1..0000000
--- a/modules/nixos/games/gog.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
-}:
-with lib; let
-  cfg = config.nixfiles.modules.games.gog;
-in {
-  options.nixfiles.modules.games.gog.enable =
-    mkEnableOption "stand-alone GOG clients and the ability to run GOG games";
-
-  config = mkIf cfg.enable {
-    nixfiles.modules.games.steam-run.enable = true;
-
-    hm.home.packages = with pkgs; [lgogdownloader];
-  };
-}
diff --git a/modules/nixos/games/lutris.nix b/modules/nixos/games/lutris.nix
index feaeefa..f130be3 100644
--- a/modules/nixos/games/lutris.nix
+++ b/modules/nixos/games/lutris.nix
@@ -18,10 +18,12 @@ in {
 
     hm.home.packages = with pkgs; [
       (lutris.override {
-        extraPkgs = _: [wine];
+        extraPkgs = _: [
+          vkBasalt
+          wine
+          winetricks
+        ];
       })
-      vkBasalt
-      winetricks
     ];
   };
 }

Consider giving Nix/NixOS a try! <3