nixos/yandex-disk: add types

This commit is contained in:
Fritz Otlinghaus 2021-01-31 13:10:20 +01:00
parent 4015c5ca9c
commit 3ecf072d9b
No known key found for this signature in database
GPG key ID: 1E5F98946FB1444E

View file

@ -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";
}; };