diff options
author | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 13:10:20 +0100 |
---|---|---|
committer | Fritz Otlinghaus <fritz@otlinghaus.it> | 2021-01-31 13:10:20 +0100 |
commit | 3ecf072d9b123a15e8214f709c5f710f12aba011 (patch) | |
tree | f3a0f9fa90733841ae69590996a970f917138f80 /nixos/modules/services/network-filesystems | |
parent | 4015c5ca9c6ec7d4aa765c97b4413b478daa278b (diff) | |
download | nixpkgs-3ecf072d9b123a15e8214f709c5f710f12aba011.tar nixpkgs-3ecf072d9b123a15e8214f709c5f710f12aba011.tar.gz nixpkgs-3ecf072d9b123a15e8214f709c5f710f12aba011.tar.bz2 nixpkgs-3ecf072d9b123a15e8214f709c5f710f12aba011.tar.lz nixpkgs-3ecf072d9b123a15e8214f709c5f710f12aba011.tar.xz nixpkgs-3ecf072d9b123a15e8214f709c5f710f12aba011.tar.zst nixpkgs-3ecf072d9b123a15e8214f709c5f710f12aba011.zip |
nixos/yandex-disk: add types
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/yandex-disk.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/network-filesystems/yandex-disk.nix b/nixos/modules/services/network-filesystems/yandex-disk.nix index cc73f13bf77..a5b1f9d4ab6 100644 --- a/nixos/modules/services/network-filesystems/yandex-disk.nix +++ b/nixos/modules/services/network-filesystems/yandex-disk.nix @@ -46,12 +46,14 @@ in user = mkOption { default = null; + type = types.nullOr types.str; description = '' The user the yandex-disk daemon should run as. ''; }; directory = mkOption { + type = types.path; default = "/home/Yandex.Disk"; description = "The directory to use for Yandex.Disk storage"; }; |