diff options
author | Lassulus <github@lassul.us> | 2020-08-26 18:21:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 18:21:29 +0200 |
commit | e453860b8f6963879141adc56be9ec763f10ecd5 (patch) | |
tree | d6f60fc6da6d6f8c7e9f857aadbf72cf2ad26c8d /nixos/modules/services/network-filesystems | |
parent | e02793de2fa7d993723424e1053961f9772653a3 (diff) | |
parent | 4a0beed5c0cd04f1641c03847eed83841e9f85fb (diff) | |
download | nixpkgs-e453860b8f6963879141adc56be9ec763f10ecd5.tar nixpkgs-e453860b8f6963879141adc56be9ec763f10ecd5.tar.gz nixpkgs-e453860b8f6963879141adc56be9ec763f10ecd5.tar.bz2 nixpkgs-e453860b8f6963879141adc56be9ec763f10ecd5.tar.lz nixpkgs-e453860b8f6963879141adc56be9ec763f10ecd5.tar.xz nixpkgs-e453860b8f6963879141adc56be9ec763f10ecd5.tar.zst nixpkgs-e453860b8f6963879141adc56be9ec763f10ecd5.zip |
Merge pull request #86236 from ThibautMarty/fix-nullOr-types
treewide: fix modules options types where the default is null
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/orangefs/server.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/network-filesystems/orangefs/server.nix b/nixos/modules/services/network-filesystems/orangefs/server.nix index 74ebdc13402..8eb754fe611 100644 --- a/nixos/modules/services/network-filesystems/orangefs/server.nix +++ b/nixos/modules/services/network-filesystems/orangefs/server.nix @@ -83,14 +83,14 @@ in { }; dataStorageSpace = mkOption { - type = types.str; + type = types.nullOr types.str; default = null; example = "/data/storage"; description = "Directory for data storage."; }; metadataStorageSpace = mkOption { - type = types.str; + type = types.nullOr types.str; default = null; example = "/data/meta"; description = "Directory for meta data storage."; |