Browse Source

nixos-module/container/anon: make core flags optional

master
Astro 1 month ago
parent
commit
0aa4169dcb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      nix/nixos-module/container/anon.nix

+ 1
- 1
nix/nixos-module/container/anon.nix View File

@@ -64,7 +64,7 @@ in
64 64
     } ];
65 65
   }) tunnels;
66 66
 
67
-  systemd.network.networks = {
67
+  systemd.network.networks = lib.mkIf enabled {
68 68
     # Wireguard transported through another routing table
69 69
     # (containing upstream by bird ospf)
70 70
     core.routingPolicyRules = [ {

Loading…
Cancel
Save