@cryptotaxi247 / infra / commits / 3a053828

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» ```

Jeremy Fleischman committed Mar 13, 2025 at 14:27 UTC 3a053828dd353b8ca08bc063d587a0f6ceb03c55
1 file changed +3 -5
non-critical-infra/hosts/umbriel/default.nix
+3 -5
@@ -35,12 +35,10 @@
35 "2a01:4f9:c011:8fb5::1/64"
36 ];
37 routes = [
38 - { routeConfig.Gateway = "fe80::1"; }
38 + { Gateway = "fe80::1"; }
39 {
40 - routeConfig = {
41 - Gateway = "172.31.1.1";
42 - GatewayOnLink = true;
43 - };
40 + Gateway = "172.31.1.1";
41 + GatewayOnLink = true;
42 }
43 ];
44 linkConfig.RequiredForOnline = "routable";