about summary refs log tree commit diff
path: root/modules/nixos/games
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-06-17 13:21:03 +0300
committerAzat Bahawi <azat@bahawi.net>2023-06-17 13:21:03 +0300
commit2ed2b884c50f25bf757113c9630b12147d3f9b18 (patch)
treeec4cee94415390752857c3a5a3591c7e9f7be520 /modules/nixos/games
parent2023-06-10 (diff)
2023-06-17
Diffstat (limited to '')
-rw-r--r--modules/nixos/games/steam-run.nix4
-rw-r--r--modules/nixos/games/steam.nix5
2 files changed, 3 insertions, 6 deletions
diff --git a/modules/nixos/games/steam-run.nix b/modules/nixos/games/steam-run.nix
index 37a20e0..f2bce67 100644
--- a/modules/nixos/games/steam-run.nix
+++ b/modules/nixos/games/steam-run.nix
@@ -42,7 +42,7 @@ in {
               (glew.overrideAttrs (_: super: let
                 opname = super.pname;
               in rec {
-                pname = "${opname}-runfix";
+                pname = "${opname}-steam-run-fix";
                 inherit (super) version;
                 src = fetchurl {
                   url = "mirror://sourceforge/${opname}/${opname}-${version}.tgz";
@@ -52,7 +52,7 @@ in {
               (fmodex.overrideAttrs (_: super: let
                 opname = super.pname;
               in rec {
-                pname = "${opname}-runfix";
+                pname = "${opname}-steam-run-fix";
                 inherit (super) version;
                 installPhase = let
                   libPath = makeLibraryPath [
diff --git a/modules/nixos/games/steam.nix b/modules/nixos/games/steam.nix
index 679ce0e..8dfa72c 100644
--- a/modules/nixos/games/steam.nix
+++ b/modules/nixos/games/steam.nix
@@ -20,9 +20,6 @@ in {
       };
     };
 
-    programs.steam = {
-      enable = true;
-      package = with pkgs; steam.override {extraPkgs = _pkgs: [attr];};
-    };
+    hm.home.packages = with pkgs; [steam];
   };
 }

Consider giving Nix/NixOS a try! <3