Compare commits
2
Commits
71f061ba1b
...
1c59901eb1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c59901eb1
|
||
|
|
b49bbadd4f
|
@@ -14,14 +14,12 @@
|
||||
networking.networkmanager.package = pkgs.networkmanager-clat;
|
||||
|
||||
# Drop a conf.d snippet that sets connection-level defaults.
|
||||
# NM reads /etc/NetworkManager/conf.d/*.conf in addition to NetworkManager.conf.
|
||||
environment.etc."NetworkManager/conf.d/99-ipv6-mostly.conf".text = ''
|
||||
networking.networkmanager.settings.connection = {
|
||||
# IPv6-mostly: automatically enable CLAT (464XLAT) and DHCPv4 option 108
|
||||
# when the network advertises PREF64 and/or option 108 (RFC 8925).
|
||||
# On networks without these, behaviour is unchanged (native IPv4 proceeds).
|
||||
[connection-defaults]
|
||||
ipv4.clat=auto
|
||||
ipv4.dhcp-ipv6-only-preferred=auto
|
||||
'';
|
||||
"ipv4.clat" = "auto";
|
||||
"ipv4.dhcp-ipv6-only-preferred" = "auto";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
buildPackages,
|
||||
nixosTests,
|
||||
systemd,
|
||||
slang,
|
||||
udev,
|
||||
udevCheckHook,
|
||||
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
|
||||
@@ -68,12 +69,12 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "networkmanager";
|
||||
version = "1.57.4-dev";
|
||||
version = "1.58-rc1";
|
||||
|
||||
src = fetchurl {
|
||||
# Use the stable release tarball (not the git archive) — GitLab git archives are not content-stable.
|
||||
url = "https://gitlab.freedesktop.org/api/v4/projects/411/packages/generic/NetworkManager/${finalAttrs.version}/NetworkManager-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-ThYPO/0YsmFSc2Qol1ZAoQb1qdtjPRg+rvxpUzKe0sA=";
|
||||
hash = "sha256-k0Oi2/vswKLI6NS65J2rP8iYJlB206JJHGOgO26LOt4=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@@ -154,6 +155,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
jansson
|
||||
dbus
|
||||
libbpf
|
||||
slang
|
||||
]
|
||||
++ lib.optionals withNbft [
|
||||
libnvme
|
||||
@@ -229,7 +231,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
homepage = "https://networkmanager.dev";
|
||||
description = "Network configuration and management tool (1.57.4-dev with CLAT/ipv6-mostly support)";
|
||||
description = "Network configuration and management tool (1.58-rc1 with CLAT/ipv6-mostly support)";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ obadz ];
|
||||
teams = [ lib.teams.freedesktop ];
|
||||
|
||||
Reference in New Issue
Block a user