nixos/modules/desktop/game/tetrio/default.nix

24 lines
363 B
Nix
Raw Normal View History

2024-02-07 07:38:06 +04:00
{
outputs,
options,
config,
lib,
pkgs,
...
}:
2024-08-01 16:24:09 +04:00
let
2024-02-07 07:38:06 +04:00
cfg = config.modules.desktop.game.tetrio;
in {
options.modules.desktop.game.tetrio = {
2024-08-01 16:24:09 +04:00
enable = lib.mkEnableOption false;
2024-02-07 07:38:06 +04:00
};
2024-08-01 16:24:09 +04:00
config = lib.mkIf cfg.enable {
2024-02-07 07:38:06 +04:00
users.users.sako.packages = with pkgs; [
2024-07-05 22:35:12 +04:00
(tetrio-desktop.override {
withTetrioPlus = true;
})
2024-02-07 07:38:06 +04:00
];
};
}