initial public commit

This commit is contained in:
Fabian Montero 2024-08-23 13:32:44 -06:00
commit 93d38992e1
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
33 changed files with 1761 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ pkgs, lib, config, ... }:
with lib; let
cfg = config.local.apps.steam;
in
{
options.local.apps.steam.enable = mkEnableOption "Steam";
config = mkIf cfg.enable {
home.packages = [
(pkgs.callPackage ./package.nix { })
pkgs.protonup
pkgs.winetricks
pkgs.protontricks
];
};
}

View file

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