!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

909 Members
Declaratively manage your switching, routing, wireless, tunneling and more.272 Servers

Load older messages


SenderMessageTime
23 Mar 2026
@hexa:lossy.networkhexawhat I want is teleport with my own idp, now23:35:53
@hexa:lossy.networkhexaplease? 🥺23:36:03
24 Mar 2026
@libjared:matrix.org@libjared:matrix.org left the room.21:26:40
26 Mar 2026
@vika:fireburn.ruVika (she/her) changed their profile picture.18:36:08
27 Mar 2026
@xengi42:matrix.orguse new account: @xengi:xengi.de changed their display name from XenGi to use new account: @xengi:xengi.de.11:24:44
29 Mar 2026
@arcayr:mischief.expertarcayr joined the room.11:15:49
31 Mar 2026
@smoothie_one:matrix.orgsmoothie_one joined the room.11:48:44
1 Apr 2026
@bubylou:matrix.orgbubylou joined the room.00:58:41
4 Apr 2026
@m1cr0man:m1cr0man.comm1cr0man Is it possible to configure a networkd network unit using overrides in the standard module? I don't see an overrideStrategy option. 18:56:54
@hexa:lossy.networkhexawdym using overrides in the standard module?19:43:33
@m1cr0man:m1cr0man.comm1cr0man I mean in the NixOS module - systemd.network.networks.<name> 20:22:38
@m1cr0man:m1cr0man.comm1cr0man I want the output to be in /etc/systemd/network/<name>.d/overrides.conf 20:22:56
@hexa:lossy.networkhexathat exists as a concept? TIL20:57:12
@m1cr0man:m1cr0man.comm1cr0manThe reason is that systemd ships with default network units for the nspawn container related interfaces (e.g. lib/systemd/network/80-container-vz.network for vz-* interfaces) and I want to just add some options to that instead of redefining the whole network config.20:27:16
@hexa:lossy.networkhexanetworkd is fully declarative, so overrides on nixos settings already work :P20:58:21
@m1cr0man:m1cr0man.comm1cr0manmmm actually for what I want to do, a drop-in won't even fix it as I can't change what the settings are matching against, and that's a limitation of systemd-networkd. I'll have to duplicate the configs.20:34:31
@hexa:lossy.networkhexaRedacted or Malformed Event20:58:26
@m1cr0man:m1cr0man.comm1cr0man* mmm actually for what I want to do, a drop-in won't even fix it as I can't change the [Match] section, and that's a limitation of systemd-networkd. I'll have to duplicate the configs.20:34:44
@hexa:lossy.networkhexaRedacted or Malformed Event20:58:32
5 Apr 2026
@bubylou:matrix.orgbubylou

You can use the [Match] section in NixOS. For example a LAN config I have is setup like this.

systemd.network = {
    enable = true;

    networks."10-lan" = {
      matchConfig.Name = "enp1s0";
01:17:57
@bubylou:matrix.orgbubylou *

You can use the [Match] section in NixOS. For example a LAN config I have is setup like this.

systemd.network = {
    networks."10-lan" = {
      matchConfig.Name = "enp1s0";
01:18:58
@bubylou:matrix.orgbubylou *

You can use the [Match] section in NixOS. For example a LAN config I have is setup like this. I could use regex instead of specifying the whole interface name such as enp*.

systemd.network = {
    networks."10-lan" = {
      matchConfig.Name = "enp1s0";
01:22:26
@bubylou:matrix.orgbubylou *

You can use the [Match] section in NixOS. For example a LAN config I have is setup like this. I could use regex instead of specifying the whole interface name such as matchConfig.Name = "enp*";.

systemd.network = {
    networks."10-lan" = {
      matchConfig.Name = "enp1s0";
01:23:38
@bubylou:matrix.orgbubylou *

You can use the [Match] section in NixOS. For example a LAN config I have is setup like this.

systemd.network = {
    networks."10-lan" = {
      matchConfig.Name = "enp*";
01:24:05
@m1cr0man:m1cr0man.comm1cr0man Ugh, I have spent way too long debugging why ipv6 scope IDs were not present when resolving nspawn containers from the host. It looks like nss-mymachines is broken? I would need someone else to try getent -s hosts:mymachines hosts example 02:38:37
@hexa:lossy.networkhexaempty02:44:02
@hexa:lossy.networkhexaon the one machine I have with a nixos container02:44:08
@hexa:lossy.networkhexaif that's what you were looking for02:44:16
@m1cr0man:m1cr0man.comm1cr0manYep. Damn. And is that set up with a .nspawn file? 02:46:41
@hexa:lossy.networkhexaor maybe that's only for nspawn?02:46:46

Show newer messages


Back to Room ListRoom Version: 6