diff --git a/hosts/desktop1/configuration.nix b/hosts/desktop1/configuration.nix index f0b74cd..ddc6ff4 100644 --- a/hosts/desktop1/configuration.nix +++ b/hosts/desktop1/configuration.nix @@ -31,6 +31,7 @@ hyprland.enable = true; kde.enable = true; docker.enable = true; + tas.enable = true; containers = { nixos = { }; diff --git a/modules/nix/games/default.nix b/modules/nix/games/default.nix index c93f174..dd0fbe3 100644 --- a/modules/nix/games/default.nix +++ b/modules/nix/games/default.nix @@ -3,5 +3,6 @@ imports = [ ./prism.nix ./steam.nix + ./tas.nix ]; } diff --git a/modules/nix/games/tas.nix b/modules/nix/games/tas.nix new file mode 100644 index 0000000..157d4cd --- /dev/null +++ b/modules/nix/games/tas.nix @@ -0,0 +1,23 @@ +{ + lib, + config, + pkgs, + ... +}: +let + inherit (lib) mkIf mkOption types; +in +{ + options.smayzy.tas.enable = mkOption { + type = types.bool; + default = false; + description = "tas things"; + }; + + config = mkIf config.smayzy.tas.enable { + environment.systemPackages = with pkgs; [ + libtas + depotdownloader + ]; + }; +}