nixos/modules: Remove all usages of types.string
And replace them with a more appropriate type Also fix up some minor module problems along the way
This commit is contained in:
@@ -19,7 +19,7 @@ in {
|
||||
user = mkOption {
|
||||
default = "deluge";
|
||||
example = "some_user";
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
description = "The user under which to run flexget.";
|
||||
};
|
||||
|
||||
@@ -33,7 +33,7 @@ in {
|
||||
interval = mkOption {
|
||||
default = "10m";
|
||||
example = "1h";
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
description = "When to perform a <command>flexget</command> run. See <command>man 7 systemd.time</command> for the format.";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user