!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

863 Members
Declaratively manage your switching, routing, wireless, tunneling and more. | Don't rely on `networking.*` use systemd-networkd and NetworkManager instead. | Set `SYSTEMD_LOG_LEVEL=debug` to debug networking issues with networkd | No bad nft puns, please. | Room recommendations: #sysops:nixos.org247 Servers

Load older messages


SenderMessageTime
4 Nov 2025
@cafkafk:gitter.imcafkafk changed their profile picture.08:23:31
@gradientvera:matrix.orgVera Gradient joined the room.08:34:52
@whispers:catgirl.cloudwhispers (it/fae) joined the room.20:10:37
@dawnofmidnight:catgirl.cloud@dawnofmidnight:catgirl.cloud left the room.20:12:08
@letgamer:tchncs.deAlex Stephan joined the room.20:19:36
@ncfavier:matrix.orgncfavier changed their profile picture.23:54:51
5 Nov 2025
@wckd:matrix.org@wckd:matrix.org joined the room.13:25:23
@wckd:matrix.org@wckd:matrix.org left the room.15:15:57
@autiboy:matrix.mautiweb.netAutiboy changed their profile picture.19:18:58
7 Nov 2025
@atra1n:matrix.org@atra1n:matrix.org removed their profile picture.16:36:36
@atra1n:matrix.org@atra1n:matrix.org removed their display name Train.16:36:54
@atra1n:matrix.org@atra1n:matrix.org left the room.16:37:10
@nrbray:matrix.orgNigel May I ask how to work around networking.useNetworkd = true; causing activation to fail (stalled indefinitely) after services are stopped and the vps inaccessible via ssh. 21:20:18
@k900:0upti.meK900It is not perfect21:23:59
@k900:0upti.meK900You probably want to see what it actually sets up21:24:04
@nrbray:matrix.orgNigelI added -v to the switch command but it didn't help. It was copied from a near identical vps that I intended to transfer a mailserver from (and worked).21:25:58
@k900:0upti.meK900Not like that21:26:21
@k900:0upti.meK900Inspect the generated networkd units21:26:57
@nrbray:matrix.orgNigelI guess using nix before activation - please may I ask how to look at this?21:29:42
@nrbray:matrix.orgNigelOne difference I see is that the new vps has ```networking.useDHCP = lib.mkDefault true;````21:30:18
@k900:0upti.meK900 nixos-rebuild repl and look at services.systemd.network 21:30:22
@nrbray:matrix.orgNigel

I can only find:
nix-repl> config.systemd.network
{
config = { ... };
enable = true;
links = { ... };
netdevs = «repeated»;
networks = { ... };
units = { ... };
wait-online = { ... };
}

nix-repl> config.systemd.network.networks
{
"99-ethernet-default-dhcp" = { ... };
"99-wireless-client-dhcp" = { ... };
}

21:38:27
@k900:0upti.meK900 :p 21:39:57
@nrbray:matrix.orgNigel

I'm not getting services..

Loading installable ''...
Added 13 variables.
baseModules, config, extendModules, extraModules, flake, lib, moduleType, modules, modulesPath, noUserModules, options, pkgs, utils
nix-repl> services
error: undefined variable 'services'
       at «string»:1:1:
            1| services
             | ^

nix-repl> 
21:44:09
@k900:0upti.meK900 Sorry systemd.network is correct 21:44:25
@albertlarsan68:albertlarsan.frAlbert Larsan config.systemd.network 21:46:57
@emma:rory.gay@emma:rory.gay left the room.22:42:52
8 Nov 2025
@nikitawootten:matrix.org@nikitawootten:matrix.org left the room.01:11:40
9 Nov 2025
@thedragon44:matrix.org@thedragon44:matrix.org left the room.14:17:08
@9hp71n:matrix.orgghpzin (moved to @ghpzin:envs.net) changed their display name from ghpzin to ghpzin (moved to @ghpzin:envs.net).15:04:05

There are no newer messages yet.


Back to Room ListRoom Version: 6