aboutsummaryrefslogtreecommitdiff
path: root/modules/apps/strongswan
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apps/strongswan')
-rw-r--r--modules/apps/strongswan/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/apps/strongswan/default.nix b/modules/apps/strongswan/default.nix
index d9a5034..ca95464 100644
--- a/modules/apps/strongswan/default.nix
+++ b/modules/apps/strongswan/default.nix
@@ -5,7 +5,7 @@ let
inherit (lib) mkIf mkOption types filterAttrs hasPrefix
mapAttrsToList concatStringsSep concatMapStringsSep;
inherit (types) listOf submodule path attrsOf;
- inherit (builtins) filter toString toFile isList isBool;
+ inherit (builtins) toString toFile isList isBool;
cfg = config.nixsap.apps.strongswan;
explicit = filterAttrs (n: v: n != "_module" && v != null);
@@ -81,7 +81,7 @@ in {
};
config = mkIf ({} != explicit cfg.conn) {
- nixsap.deployment.keyrings.root = filter (hasPrefix "/run/keys/") cfg.secrets;
+ nixsap.deployment.keyrings.root = cfg.secrets;
environment.systemPackages = [ pkgs.strongswan ];
systemd.services.strongswan = {
description = "strongSwan IPSec Service";