diff --git a/modules/desktop/game/default.nix b/modules/desktop/game/default.nix index cb68edd9..73acd2ff 100644 --- a/modules/desktop/game/default.nix +++ b/modules/desktop/game/default.nix @@ -4,5 +4,6 @@ ./lutris ./wine ./grapejuice + ./tetrio ]; } diff --git a/modules/desktop/game/tetrio/tetrio.nix b/modules/desktop/game/tetrio/tetrio.nix new file mode 100644 index 00000000..1e401c9b --- /dev/null +++ b/modules/desktop/game/tetrio/tetrio.nix @@ -0,0 +1,21 @@ +{ + outputs, + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.modules.desktop.game.tetrio; +in { + options.modules.desktop.game.tetrio = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ + tetrio-desktop + ]; + }; +}