about summary refs log tree commit diff
path: root/modules/nixos/games
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-06-10 22:21:25 +0300
committerAzat Bahawi <azat@bahawi.net>2023-06-10 22:21:25 +0300
commit2d4e9a5abfc08386250f42ba0f0c25ae63073d3e (patch)
tree9ebbc36a66679886df3f7ce673935a58f96f15c9 /modules/nixos/games
parent2023-06-02 (diff)
2023-06-10
Diffstat (limited to 'modules/nixos/games')
-rw-r--r--modules/nixos/games/minecraft.nix2
-rw-r--r--modules/nixos/games/steam.nix5
2 files changed, 5 insertions, 2 deletions
diff --git a/modules/nixos/games/minecraft.nix b/modules/nixos/games/minecraft.nix
index 09b9239..b8a2949 100644
--- a/modules/nixos/games/minecraft.nix
+++ b/modules/nixos/games/minecraft.nix
@@ -31,7 +31,7 @@ in {
 
   config = mkMerge [
     (mkIf cfg.client.enable {
-      hm.home.packages = with pkgs; [prismlauncher];
+      hm.home.packages = with pkgs; [pollymc-unwrapped];
     })
     (mkIf cfg.server.enable {
       nixfiles.modules.common.nix.allowedUnfreePackages = ["minecraft-server"];
diff --git a/modules/nixos/games/steam.nix b/modules/nixos/games/steam.nix
index 8dfa72c..679ce0e 100644
--- a/modules/nixos/games/steam.nix
+++ b/modules/nixos/games/steam.nix
@@ -20,6 +20,9 @@ in {
       };
     };
 
-    hm.home.packages = with pkgs; [steam];
+    programs.steam = {
+      enable = true;
+      package = with pkgs; steam.override {extraPkgs = _pkgs: [attr];};
+    };
   };
 }

Consider giving Nix/NixOS a try! <3