flake.nix: update nixpkgs,nix-ld

This commit is contained in:
makefu 2025-01-06 00:19:03 +01:00
parent 2e884d2e58
commit 26b6cf1103
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
3 changed files with 14 additions and 14 deletions

View file

@ -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

View file

@ -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": {

View file

@ -1,6 +1,6 @@
{
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
#nixpkgs_stable.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
brockman = {
url = "github:kmein/brockman";