This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
desktop_nixos_config_legacy/home/apps/steam/default.nix

20 lines
321 B
Nix
Raw Normal View History

2024-08-24 09:55:59 +02:00
{
pkgs,
lib,
config,
...
}:
2024-08-23 21:32:44 +02:00
with lib; let
cfg = config.local.apps.steam;
2024-08-24 09:55:59 +02:00
in {
2024-08-23 21:32:44 +02:00
options.local.apps.steam.enable = mkEnableOption "Steam";
config = mkIf cfg.enable {
home.packages = [
2024-08-24 09:55:59 +02:00
(pkgs.callPackage ./package.nix {})
2024-08-23 21:32:44 +02:00
pkgs.protonup
pkgs.winetricks
pkgs.protontricks
];
};
2024-08-24 09:55:59 +02:00
}