flake.nix: update nixpkgs,nix-ld
This commit is contained in:
parent
2e884d2e58
commit
26b6cf1103
|
@ -1,4 +1,4 @@
|
|||
{ config,pkgs, ... }:
|
||||
h{ config,pkgs, ... }:
|
||||
let
|
||||
ext-if = config.makefu.server.primary-itf;
|
||||
in { # wireguard server
|
||||
|
@ -24,14 +24,14 @@ in { # wireguard server
|
|||
listenPort = 51820;
|
||||
privateKeyFile = config.sops.secrets."${config.clan.core.machineName}-wireguard.key".path;
|
||||
# allowedIPsAsRoutes = true;
|
||||
#postSetup = ''
|
||||
# ${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.244.0.0/24 -o ${ext-if} -j MASQUERADE
|
||||
#'';
|
||||
postSetup = ''
|
||||
${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -s 10.244.0.0/24 -o ${ext-if} -j MASQUERADE
|
||||
'';
|
||||
|
||||
# # This undoes the above command
|
||||
#postShutdown = ''
|
||||
# ${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.244.0.0/24 -o ${ext-if} -j MASQUERADE
|
||||
#'';
|
||||
postShutdown = ''
|
||||
${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -s 10.244.0.0/24 -o ${ext-if} -j MASQUERADE
|
||||
'';
|
||||
peers = [
|
||||
{
|
||||
# x
|
||||
|
|
12
flake.lock
12
flake.lock
|
@ -620,11 +620,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734338723,
|
||||
"narHash": "sha256-BpJs2QnVwdE4Btsx2BcBmdsq86H7QJYv2GmoOkr1ii4=",
|
||||
"lastModified": 1735774660,
|
||||
"narHash": "sha256-g/9+jzWvu73YPHw9AB/yVCDSld7GdovliAUkfVP7YU0=",
|
||||
"owner": "Mic92",
|
||||
"repo": "nix-ld",
|
||||
"rev": "911665df070e3d6c970e5a248fc4a38550bd5689",
|
||||
"rev": "5f12c696cae384350f95f2af9dffe39ee0e445e5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -755,11 +755,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1734424634,
|
||||
"narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
|
||||
"lastModified": 1735834308,
|
||||
"narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
|
||||
"rev": "6df24922a1400241dae323af55f30e4318a6ca65",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Reference in a new issue