refactor!: switch to dendritic pattern

BREAKING CHANGE: complete reorganization of the repository
This commit is contained in:
phundrak committed 2026-09-30 18:36:06 +02:00
1 parent 12684b4e9c
commit 5f4a7a4a42
323 files changed
+7117 -7380

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
{
flake.modules.nixos.languagetool = {
config,
lib,
...
}:
with lib; let
cfg = config.mySystem.services.languagetool;
in {
options.mySystem.services.languagetool = {
enable = mkEnableOption "Enables languagetool";
port = mkOption {
type = types.port;
default = 8081;
example = 80;
};
};
config.services.languagetool = mkIf cfg.enable {
inherit (cfg) enable port;
};
};
}