diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-31 15:25:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 15:25:10 +0100 |
commit | a0829b1df88e6f4bedff3e3d44c0fa4835c1a4ec (patch) | |
tree | 2b9348ab74a0a04646d676c4b4892a5c71f7df24 | |
parent | 1c71af8fd7bfc4c9d0fbbe9e55de5c5b3705c1d1 (diff) | |
parent | 3ecf072d9b123a15e8214f709c5f710f12aba011 (diff) |
Merge pull request #111455 from helsinki-systems/yandex
nixos/yandex-disk: add types
-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 cc73f13bf77a..a5b1f9d4ab63 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"; }; |