modularize steam

This commit is contained in:
Fabian Montero 2024-11-20 23:36:29 -06:00
parent a09e88cf3e
commit 8b8aa68811
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
6 changed files with 30 additions and 18 deletions

View file

@ -5,7 +5,6 @@
...
}: {
imports = [
./steam
];
home.packages = with pkgs; [

View file

@ -1,14 +0,0 @@
{
pkgs,
lib,
config,
...
}:
with lib; {
home.packages = [
(pkgs.callPackage ./package.nix {})
pkgs.protonup
pkgs.winetricks
pkgs.protontricks
];
}

View file

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