add tas utils
This commit is contained in:
parent
f2f589884d
commit
74218acbf3
@ -31,6 +31,7 @@
|
||||
hyprland.enable = true;
|
||||
kde.enable = true;
|
||||
docker.enable = true;
|
||||
tas.enable = true;
|
||||
containers = {
|
||||
nixos = {
|
||||
};
|
||||
|
||||
@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./prism.nix
|
||||
./steam.nix
|
||||
./tas.nix
|
||||
];
|
||||
}
|
||||
|
||||
23
modules/nix/games/tas.nix
Normal file
23
modules/nix/games/tas.nix
Normal file
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user