goyplex: netbird from a fresher nixpkgs pin (0.81.x) to match the 0.81 server

This commit is contained in:
poslop committed 2026-10-22 17:05:25 -05:00
1 parent ceee856b3c
commit 5febafb79c
3 files changed
+30 -2

No files matched your search

Generated
+18 -1
View File
@@ -491,6 +491,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-netbird": {
"locked": {
"lastModified": 1792502884,
"narHash": "sha256-IoNisKcGbUjdd45qCqywGMCYmZ5EnkxezvLII0FWwNA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "02c087f3fe673c9e317f206a627cb6b910336dbe",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1788404924, "lastModified": 1788404924,
@@ -551,7 +567,8 @@
"hjem": "hjem", "hjem": "hjem",
"hjem-rum": "hjem-rum", "hjem-rum": "hjem-rum",
"hyprland": "hyprland", "hyprland": "hyprland",
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3",
"nixpkgs-netbird": "nixpkgs-netbird"
} }
}, },
"systems": { "systems": {
+2
View File
@@ -2,6 +2,8 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-netbird.url = "github:nixos/nixpkgs/nixos-unstable";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
+10 -1
View File
@@ -1,8 +1,17 @@
# per-host overrides: static IP for the k3s edge node # per-host overrides: static IP for the k3s edge node
# LAN: 10.0.1.0/24, gw 10.0.1.1, DNS pas 10.0.1.45 + 1.1.1.1 # LAN: 10.0.1.0/24, gw 10.0.1.1, DNS pas 10.0.1.45 + 1.1.1.1
{ ... }: { inputs, pkgs, ... }:
{ {
# netbird client from a fresher nixpkgs pin. The system nixpkgs (locked
# 2026-09-04) ships netbird 0.78.1 while the k3s server runs the floating
# 0.81.x image; that skew breaks network/exit-route pushes to this peer.
nixpkgs.overlays = [
(final: prev: {
netbird = inputs.nixpkgs-netbird.legacyPackages.${final.stdenv.hostPlatform.system}.netbird;
})
];
networking.networkmanager.ensureProfiles.environmentFiles = [ ]; networking.networkmanager.ensureProfiles.environmentFiles = [ ];
networking.networkmanager.ensureProfiles.profiles = { networking.networkmanager.ensureProfiles.profiles = {
"ens18-static" = { "ens18-static" = {