From 00762bb2e90210276bf5e24bd953a68beb4fc574 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 17 Oct 2023 19:37:21 -0400 Subject: [PATCH] feat(binto): add steam --- hosts/binto/modules/nix-gaming.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/hosts/binto/modules/nix-gaming.nix b/hosts/binto/modules/nix-gaming.nix index 1a3f6d37..da1f0ed2 100644 --- a/hosts/binto/modules/nix-gaming.nix +++ b/hosts/binto/modules/nix-gaming.nix @@ -1,7 +1,19 @@ -# configuration.nix -{ +{ nix-gaming, pkgs, ... }: { nix.settings = { substituters = ["https://nix-gaming.cachix.org"]; trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="]; }; + + imports = [ + nix-gaming.nixosModules.steamCompat + ]; + + programs.steam = { + enable = true; + + extraCompatPackages = [ + # pkgs.luxtorpeda + nix-gaming.packages.${pkgs.system}.proton-ge + ]; + }; }