summary refs log tree commit diff
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-04-11 22:51:24 +0200
committerGitHub <noreply@github.com>2019-04-11 22:51:24 +0200
commit2d1fa68c832424ddbd07b0acf69034e2ce56efe2 (patch)
treedb5ef0ac0554c2f37ad40fb2a01f9fd987516ce3
parentfd45865b2e356a26b0617f6a91baba8817d7f574 (diff)
parent08b8c6caf215f25e798ba578a71aa7a81c20ebca (diff)
downloadnixpkgs-2d1fa68c832424ddbd07b0acf69034e2ce56efe2.tar
nixpkgs-2d1fa68c832424ddbd07b0acf69034e2ce56efe2.tar.gz
nixpkgs-2d1fa68c832424ddbd07b0acf69034e2ce56efe2.tar.bz2
nixpkgs-2d1fa68c832424ddbd07b0acf69034e2ce56efe2.tar.lz
nixpkgs-2d1fa68c832424ddbd07b0acf69034e2ce56efe2.tar.xz
nixpkgs-2d1fa68c832424ddbd07b0acf69034e2ce56efe2.tar.zst
nixpkgs-2d1fa68c832424ddbd07b0acf69034e2ce56efe2.zip
Merge pull request #59044 from teto/strongswan_path
strongswan module: use strings for secrets.
-rw-r--r--nixos/modules/services/networking/strongswan.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/strongswan.nix b/nixos/modules/services/networking/strongswan.nix
index 707d24b9220..41b69039ba7 100644
--- a/nixos/modules/services/networking/strongswan.nix
+++ b/nixos/modules/services/networking/strongswan.nix
@@ -54,7 +54,7 @@ in
     enable = mkEnableOption "strongSwan";
 
     secrets = mkOption {
-      type = types.listOf types.path;
+      type = types.listOf types.str;
       default = [];
       example = [ "/run/keys/ipsec-foo.secret" ];
       description = ''