feat(gaming): cleaning up gaming related pkgs

This commit is contained in:
2025-10-11 16:44:54 +02:00
parent 6b7ca2b194
commit 57cb48a11c
3 changed files with 26 additions and 12 deletions

View File

@@ -3,16 +3,17 @@
config,
lib,
...
}: let
inherit
(lib)
}:
let
inherit (lib)
mkIf
mkOption
mkMerge
types
;
cfg = config.nixos.programs.pkgs;
in {
in
{
options = {
nixos.programs.pkgs = {
enable = mkOption {
@@ -50,7 +51,8 @@ in {
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs;
environment.systemPackages =
with pkgs;
mkMerge [
[
pciutils
@@ -95,9 +97,6 @@ in {
])
(mkIf cfg.desktop.enable [
protonup
winetricks
wine
geekbench
unigine-heaven
])