sp-modules: refactor options types

This commit is contained in:
Alexander Tomokhov
2023-12-28 12:54:59 +04:00
parent a32613ece4
commit 15f5d6096d
7 changed files with 12 additions and 17 deletions

View File

@@ -3,11 +3,10 @@
options.selfprivacy.modules.simple-nixos-mailserver = {
enable = lib.mkOption {
default = false;
type = with lib.types; nullOr bool;
type = lib.types.bool;
};
location = lib.mkOption {
default = "sda1";
type = with lib.types; nullOr str;
type = lib.types.str;
};
};
}