forked from Fachschaft/nixConfig
Compare commits
5 commits
065ed1db6e
...
3d0fd046d0
Author | SHA1 | Date | |
---|---|---|---|
3d0fd046d0 | |||
55ba2c9122 | |||
80e78279b2 | |||
9b57029006 | |||
42c9bf1b1d |
2 changed files with 9 additions and 10 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue