sp-modules: refactor options types
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user