nixos/yandex-disk: add types
This commit is contained in:
parent
4015c5ca9c
commit
3ecf072d9b
|
@ -46,12 +46,14 @@ in
|
||||||
|
|
||||||
user = mkOption {
|
user = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
|
type = types.nullOr types.str;
|
||||||
description = ''
|
description = ''
|
||||||
The user the yandex-disk daemon should run as.
|
The user the yandex-disk daemon should run as.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
directory = mkOption {
|
directory = mkOption {
|
||||||
|
type = types.path;
|
||||||
default = "/home/Yandex.Disk";
|
default = "/home/Yandex.Disk";
|
||||||
description = "The directory to use for Yandex.Disk storage";
|
description = "The directory to use for Yandex.Disk storage";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue