reestructuración

This commit is contained in:
Fabián Montero 2022-11-29 21:29:21 -06:00
parent 576b7c5798
commit b29950097c
33 changed files with 1054 additions and 913 deletions

View file

@ -0,0 +1,12 @@
{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 {})
protonup
];
};
}

View file

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