Skip to content

Commit 3a05382

Browse files
committed
Fix evaluation warning about routeConfig on umbriel
Before: ```console $ nix eval .#nixosConfigurations.umbriel.config.system.build.toplevel evaluation warning: Using 'routeConfig' is deprecated! Move all attributes inside one level up and remove it. evaluation warning: Using 'routeConfig' is deprecated! Move all attributes inside one level up and remove it. «derivation /nix/store/yp4hjn03fw471l7nz2c0h26vhxjgyx4k-nixos-system-umbriel-24.11.20250308.52e3095.drv» ``` After: ```console $ nix eval .#nixosConfigurations.umbriel.config.system.build.toplevel warning: Git tree '/home/jeremy/src/github.com/NixOS/infra' is dirty «derivation /nix/store/yp4hjn03fw471l7nz2c0h26vhxjgyx4k-nixos-system-umbriel-24.11.20250308.52e3095.drv» ```
1 parent 5eeb20e commit 3a05382

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

non-critical-infra/hosts/umbriel/default.nix

+3-5
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@
3535
"2a01:4f9:c011:8fb5::1/64"
3636
];
3737
routes = [
38-
{ routeConfig.Gateway = "fe80::1"; }
38+
{ Gateway = "fe80::1"; }
3939
{
40-
routeConfig = {
41-
Gateway = "172.31.1.1";
42-
GatewayOnLink = true;
43-
};
40+
Gateway = "172.31.1.1";
41+
GatewayOnLink = true;
4442
}
4543
];
4644
linkConfig.RequiredForOnline = "routable";

0 commit comments

Comments
 (0)