gaming packages only in default
This commit is contained in:
parent
b93258bfea
commit
7592e632b6
1 changed files with 4 additions and 7 deletions
11
gaming.nix
11
gaming.nix
|
|
@ -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 [];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue