Compare commits

..

6 commits

Author SHA1 Message Date
065ed1db6e First try to install Stalwart as a mail software 2024-08-19 13:29:51 +02:00
081b9a9d34 Restrict HRZ allowlist update service privileges 2024-08-19 13:23:47 +02:00
c5f641cabf Mailman backups 2024-08-19 13:23:47 +02:00
67083126be Add pushing to hrz allowlist 2024-08-19 13:23:47 +02:00
8906e6c766 Setze Mailman-Maschine auf 2024-08-19 13:23:47 +02:00
575343c844 Unify hook settings and fix warning
trace: warning: The option `settings.statix' defined in `/nix/store/plj05iykqma26y930qjf75zxp2qx02sl-source/flake.nix, via option perSystem' has been renamed to `hooks.statix.settings'.
2024-07-02 16:03:14 +02:00
2 changed files with 10 additions and 9 deletions

View file

@ -26,14 +26,15 @@
in {
check.enable = true;
settings = {
# for some reason statix takes it config differently than all the other hooks.
settings.statix = {
format = "stderr";
ignore = generatedFiles;
};
hooks = {
nil.enable = true;
statix.enable = true;
statix = {
enable = true;
settings = {
format = "stderr";
ignore = generatedFiles;
};
};
deadnix = {
enable = true;
excludes = generatedFiles;

View file

@ -11,16 +11,16 @@
mkEnableOption
mkOption
;
inherit (lib.types) str;
inherit (lib.types) nonEmptyStr;
cfg = config.services.mathebau-mailman;
in {
options.services.mathebau-mailman = {
enable = mkEnableOption "mathebau mailman service";
hostName = mkOption {
type = str;
type = nonEmptyStr;
};
siteOwner = mkOption {
type = str;
type = nonEmptyStr;
};
};