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, ... }: {
# nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "lutris"
# ];
{ lib, config, pkgs, variant, ... }: {
nixpkgs.config = { allowUnfree = true; };
home.packages = with pkgs; [
home.packages = if variant == "default" then with pkgs; [
lutris
mangohud
prismlauncher
heroic
steam
];
]
else [];
}