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

@@ -2,12 +2,11 @@
{
options.selfprivacy.modules.nextcloud = with lib; {
enable = mkOption {
type = types.nullOr types.bool;
type = types.bool;
default = false;
};
location = mkOption {
type = types.nullOr types.str;
default = "sda1";
type = types.str;
};
};