From 7fbb62ba881b1e7f336abd05d8852bff43d4b18c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 25 Apr 2025 13:04:57 +0200 Subject: modules/steam: Correctly allow the unfree dependency --- modules/by-name/ni/nixpkgs/config.nix | 6 ++++++ modules/by-name/st/steam/module.nix | 2 ++ 2 files changed, 8 insertions(+) (limited to 'modules/by-name') diff --git a/modules/by-name/ni/nixpkgs/config.nix b/modules/by-name/ni/nixpkgs/config.nix index 1a24444d..03ca7981 100644 --- a/modules/by-name/ni/nixpkgs/config.nix +++ b/modules/by-name/ni/nixpkgs/config.nix @@ -22,6 +22,12 @@ in { allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "pypemicro" # required by pynitrokey + + # TODO(@bpeetz): Allow moving them to their respective module. <2025-04-25> + "steam" + "steam-unwrapped" + "steam-original" + "steam-run" ]; }; }; diff --git a/modules/by-name/st/steam/module.nix b/modules/by-name/st/steam/module.nix index 6c589f2d..91325b83 100644 --- a/modules/by-name/st/steam/module.nix +++ b/modules/by-name/st/steam/module.nix @@ -13,6 +13,8 @@ in { config = lib.mkIf cfg.enable { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + # NOTE: These are not really applied. Look at + # instead. <2025-04-25> "steam" "steam-unwrapped" "steam-original" -- cgit 1.4.1