no more user steam

This commit is contained in:
notgne2 2021-10-08 22:19:32 -07:00
parent 31e241a3d6
commit 66bdc5730f
No known key found for this signature in database
GPG Key ID: BB661E172B42A7F8
2 changed files with 0 additions and 18 deletions

View File

@ -4,7 +4,6 @@ inputs:
{
imports = [
(lib.mkAliasOptionModule [ "ezpcusr" "gaming" ] [ "gaming" "enable" ])
(lib.mkAliasOptionModule [ "ezpcusr" "flatSteam" ] [ "gaming" "flatSteam" ])
(lib.mkAliasOptionModule [ "ezpcusr" "newWine" ] [ "gaming" "newWine" ])
(import ./ezpcusr.nix inputs)

View File

@ -12,21 +12,11 @@ in
default = false;
description = "If you want to include wine-staging as new-wine";
};
flatSteam = mkOption {
type = types.bool;
default = false;
description = "If you use the flatpak Steam instead of NixOS";
};
};
config = mkIf cfg.enable {
home.packages =
let
steam = pkgs.steam.override { withJava = true; };
steam-run = steam.run;
newwine = (pkgs.wineFull.override { wineBuild = "wineWow"; wineRelease = "staging"; });
newwinetricks = pkgs.winetricks.override { wine = newwine; };
@ -37,13 +27,6 @@ in
oldwine
oldwinetricks
sc-controller
] ++ lib.optionals (!cfg.flatSteam) [
steam
steam-run
(writeScriptBin "steam-run-native" ''
#!${pkgs.stdenv.shell}
${(steam.override { nativeOnly = true; }).run}/bin/steam-run $@
'')
] ++ lib.optionals cfg.newWine [
(
pkgs.runCommand "new-wine-stuff"