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-09-28 12:54:57 +04:00
|
|
|
# (tetrio-desktop.override {
|
|
|
|
# withTetrioPlus = true;
|
|
|
|
# })
|
|
|
|
tetrio-desktop
|
2024-02-07 07:38:06 +04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|