Small fixes
This commit is contained in:
parent
69b05190af
commit
1140c1294c
|
@ -11,7 +11,6 @@
|
||||||
auth = import ./common/auth.nix;
|
auth = import ./common/auth.nix;
|
||||||
in {
|
in {
|
||||||
sshswitch = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
|
sshswitch = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
|
||||||
svim = "sudo $(which vim)";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
chain POSTROUTING {
|
chain POSTROUTING {
|
||||||
type nat hook postrouting priority 100; policy accept;
|
type nat hook postrouting priority 100; policy accept;
|
||||||
oifname "${ips.netInt}" masquerade
|
oifname "${ips.netInt}" masquerade
|
||||||
|
oifname "${ips.wgInt}" masquerade
|
||||||
ip saddr ${ips.wgSpan}.0/24 oifname "${ips.netInt}" masquerade comment "WireGuard"
|
ip saddr ${ips.wgSpan}.0/24 oifname "${ips.netInt}" masquerade comment "WireGuard"
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue