Compare commits

..

5 commits

2 changed files with 9 additions and 10 deletions

View file

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

View file

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