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 = {
hooks = { # for some reason statix takes it config differently than all the other hooks.
nil.enable = true; settings.statix = {
statix = {
enable = true;
settings = {
format = "stderr"; format = "stderr";
ignore = generatedFiles; ignore = generatedFiles;
}; };
}; hooks = {
nil.enable = true;
statix.enable = true;
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;
}; };
}; };