Compare commits
2 Commits
36a2a424c5
...
stage
| Author | SHA1 | Date | |
|---|---|---|---|
| 87082709e0 | |||
| 78852c6b0a |
@@ -14,8 +14,25 @@ in
|
||||
|
||||
options.networking.ip_forward = mkEnableOption "Enable ip forwarding";
|
||||
|
||||
config = mkIf cfg.ip_forward {
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
||||
};
|
||||
config = mkMerge [
|
||||
(mkIf cfg.ip_forward {
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
||||
})
|
||||
|
||||
# Keep dhcpcd away from container/virtual interfaces. dhcpcd runs as a single
|
||||
# daemon over every interface not on its deny list, and the nixpkgs default
|
||||
# omits these. When containers create/tear down podman0/veth*, dhcpcd reacts
|
||||
# to the link events with a full reconfigure and can drop the primary
|
||||
# interface's DHCP default route, leaving the host unreachable.
|
||||
{
|
||||
networking.dhcpcd.denyInterfaces = [
|
||||
"podman*"
|
||||
"veth*"
|
||||
"cni*"
|
||||
"docker*"
|
||||
"br-*"
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -32,6 +32,19 @@ in
|
||||
];
|
||||
});
|
||||
|
||||
# nginx 1.30.0 -> 1.30.1: critical security fix. Pulled forward from
|
||||
# nixpkgs master (PR #519893, merged 2026-05-14) because the
|
||||
# nixos-unstable channel branch we track does not have it yet.
|
||||
# Remove once nixos-unstable advances past 2026-05-14.
|
||||
nginxStable = prev.nginxStable.overrideAttrs (old: rec {
|
||||
version = "1.30.1";
|
||||
src = prev.fetchurl {
|
||||
url = "https://nginx.org/download/nginx-${version}.tar.gz";
|
||||
hash = "sha256-mXZQANl0iWsxyliC2MJ5zj/n729cb58Kln7X/TQH+cw=";
|
||||
};
|
||||
});
|
||||
nginx = final.nginxStable;
|
||||
|
||||
# Plasma Bigscreen: TV-optimized KDE shell (not yet packaged in nixpkgs)
|
||||
plasma-bigscreen = import ./plasma-bigscreen.nix {
|
||||
inherit (prev.kdePackages)
|
||||
|
||||
Reference in New Issue
Block a user