main @ 34 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ { │
│ lib, │
│ osConfig, │
│ pkgs, │
│ ... │
│ }: let │
│ inherit (lib) mkIf elem; │
│ inherit (builtins) attrValues; │
│ inherit (osConfig.ooknet.workstation) profiles; │
│ in { │
│ config = mkIf (elem "gaming" profiles) { │
│ programs.lutris = { │
│ enable = false; # disabled - openldap i686 test failure on current nixpkgs │
│ steamPackage = osConfig.programs.steam.package; │
│ defaultWinePackage = pkgs.proton-ge-bin; │
│ protonPackages = [pkgs.proton-ge-bin]; │
│ winePackages = [ │
│ pkgs.wineWow64Packages.full │
│ pkgs.wineWow64Packages.stagingFull │
│ ]; │
│ extraPackages = attrValues { │
│ inherit │
│ (pkgs) │
│ winetricks │
│ protontricks │
│ gamescope │
│ gamemode │
│ mangohud │
│ ; │
│ }; │
│ }; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ { │
│ lib, │
│ osConfig, │
│ pkgs, │
│ ... │
│ }: let │
│ inherit (lib) mkIf elem; │
│ inherit (builtins) attrValues; │
│ inherit (osConfig.ooknet.workstation) prof │
│ iles; │
│ in { │
│ config = mkIf (elem "gaming" profiles) { │
│ programs.lutris = { │
│ enable = false; # disabled - openldap │
│ i686 test failure on current nixpkgs │
│ steamPackage = osConfig.programs.steam │
│ .package; │
│ defaultWinePackage = pkgs.proton-ge-bi │
│ n; │
│ protonPackages = [pkgs.proton-ge-bin]; │
│ winePackages = [ │
│ pkgs.wineWow64Packages.full │
│ pkgs.wineWow64Packages.stagingFull │
│ ]; │
│ extraPackages = attrValues { │
│ inherit │
│ (pkgs) │
│ winetricks │
│ protontricks │
│ gamescope │
│ gamemode │
│ mangohud │
│ ; │
│ }; │
│ }; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET