Skip to content

Commit

Permalink
feat(l2tp): add l2tp module
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Feb 1, 2024
1 parent f4002bd commit e3810b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/modules/nixos/hardware/networking/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
options,
config,
lib,
pkgs,
...
}:
with lib;
Expand Down Expand Up @@ -29,5 +30,12 @@ in {
};
systemd.services.NetworkManager-wait-online.enable = false;
services.wg-netmanager.enable = true;
environment.systemPackages = with pkgs; [networkmanager-l2tp gnome.networkmanager-l2tp];
services.strongswan = {
enable = true;
secrets = [
"ipsec.d/ipsec.nm-l2tp.secrets"
];
};
};
}

0 comments on commit e3810b6

Please sign in to comment.