Merge pull request #111455 from helsinki-systems/yandex
nixos/yandex-disk: add types
This commit is contained in:
@@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user