Compare commits

..

5 commits

2 changed files with 9 additions and 10 deletions

View file

@ -26,15 +26,14 @@
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;
settings = {
format = "stderr";
ignore = generatedFiles;
};
};
statix.enable = true;
deadnix = {
enable = true;
excludes = generatedFiles;

View file

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