diff options
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/glusterfs.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/network-filesystems/glusterfs.nix b/nixos/modules/services/network-filesystems/glusterfs.nix index ae4f4521cf2d3..e7f52bc4a7d15 100644 --- a/nixos/modules/services/network-filesystems/glusterfs.nix +++ b/nixos/modules/services/network-filesystems/glusterfs.nix @@ -61,9 +61,9 @@ in default = null; type = types.nullOr (types.submodule { options = { - tlsKey = mkOption { + tlsKeyPath = mkOption { default = null; - type = types.path; + type = types.str; description = "Path to the private key used for TLS."; }; @@ -93,7 +93,7 @@ in environment.etc = mkIf (cfg.tlsSettings != null) { "ssl/glusterfs.pem".source = cfg.tlsSettings.tlsPem; - "ssl/glusterfs.key".source = cfg.tlsSettings.tlsKey; + "ssl/glusterfs.key".source = cfg.tlsSettings.tlsKeyPath; "ssl/glusterfs.ca".source = cfg.tlsSettings.caCert; }; |