modularize steam

This commit is contained in:
Fabian Montero 2025-01-27 19:52:25 -06:00
parent 9f0e9811e3
commit cbda46edd5
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
6 changed files with 34 additions and 15 deletions

View file

@ -8,7 +8,7 @@
./terminal
./neovim.nix
./baseline.nix
./gaming
./gaming.nix
./yubikey.nix
./browsers.nix
./gui

View file

@ -12,11 +12,6 @@ in {
};
config = mkIf cfg.enable {
home.packages = [
# Steam. todo: move to the steam module later
(pkgs.callPackage ./package.nix {})
pkgs.protonup
pkgs.winetricks
pkgs.protontricks
pkgs.lutris
pkgs.openrct2
pkgs.prismlauncher

View file

@ -1,9 +0,0 @@
{
writeShellScriptBin,
steam-run,
steam,
...
}:
writeShellScriptBin "steam" ''
exec ${steam-run}/bin/steam-run ${steam}/bin/steam -console
''