From 977cef98360a8b977001ab0906150a1ff54e3190 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 14 Aug 2024 17:13:59 +0200 Subject: [PATCH] nixos-mods/autoUnfree: manually add more steam packages (with TODO to later make this more adaptive) --- nix/nixos-modules/autoUnfree.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nix/nixos-modules/autoUnfree.nix b/nix/nixos-modules/autoUnfree.nix index d180886..c0db1e5 100644 --- a/nix/nixos-modules/autoUnfree.nix +++ b/nix/nixos-modules/autoUnfree.nix @@ -75,7 +75,7 @@ in x-banananetwork.autoUnfree.packages = let - inherit (lib.lists) flatten optional; + inherit (lib.lists) flatten optional optionals; # supported (ordered by long option name) amd = config.hardware.cpu.amd; intel = config.hardware.cpu.intel; @@ -89,6 +89,12 @@ in #(optional intel.updateMicrocode pkgs.microcodeIntel) # programs (optional steam.enable steam.package) + # TODO improve pulling in dependencies more accurate + (optionals steam.enable ([ + pkgs.steam-run + pkgs.steamPackages.steam + pkgs.steamPackages.steam-runtime + ])) ];