diff options
author | Vincent Ambo <mail@tazj.in> | 2022-02-01T09·17+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-02-01T09·23+0000 |
commit | 3122cdf0c4dca8df08aca42e7df3e866bc3dd94e (patch) | |
tree | 443d8634ae2444f7e389cd664397a75cd3e3e54f /users/tazjin/nixos/tverskoy/default.nix | |
parent | 586f530ec4dfd3747367896a374410f15b3ae183 (diff) |
fix(tazjin/tverskoy): copy & paste some l2tp fix from nixpkgs#64965 r/3734
Change-Id: Ib6375cd2281ce7eff87d9a1f8bd8f811ed180a87 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5155 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/nixos/tverskoy/default.nix')
-rw-r--r-- | users/tazjin/nixos/tverskoy/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index f19501362ab5..0c833e35edea 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -145,6 +145,11 @@ lib.fix (self: { ]; }; + # from https://github.com/NixOS/nixpkgs/issues/64965 + environment.etc."ipsec.secrets".text = '' + include ipsec.d/ipsec.nm-l2tp.secrets + ''; + security.rtkit.enable = true; services = { |