gaming packages only in default

This commit is contained in:
Antoine Vaure 2024-10-21 01:07:10 +02:00
parent b93258bfea
commit 7592e632b6

View file

@ -1,15 +1,12 @@
{ lib, config, pkgs, ... }: { { lib, config, pkgs, variant, ... }: {
# nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "lutris"
# ];
nixpkgs.config = { allowUnfree = true; }; nixpkgs.config = { allowUnfree = true; };
home.packages = with pkgs; [ home.packages = if variant == "default" then with pkgs; [
lutris lutris
mangohud mangohud
prismlauncher prismlauncher
heroic heroic
steam steam
]; ]
else [];
} }