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, ... }: {
|
||||
|
||||
# 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 [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue