2024-02-07 07:38:06 +04:00
|
|
|
{
|
|
|
|
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; [
|
2024-07-05 22:35:12 +04:00
|
|
|
(tetrio-desktop.override {
|
|
|
|
withTetrioPlus = true;
|
|
|
|
})
|
2024-02-07 07:38:06 +04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|