!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

887 Members
on your Router! Declaratively manage your switching, routing, wireless, tunneling and more.259 Servers

Load older messages


SenderMessageTime
17 Oct 2025
@sross:matrix.orgSean Ross ElvishJerricco: Thank you I think in a config somewhere I do have networking.useNetworkd = true; but I don't believe there is anything set like networking.interfaces.<name> = {};. I'll take another look when I get a chance. 01:24:16
@elvishjerricco:matrix.orgElvishJerricco use nixos-rebuild repl to poke around and check out what the final values of things like builtins.attrNames config.networking.interfaces is 01:24:53
@sross:matrix.orgSean RossAh that is really helpful I was wondering how to poke around in there. Does this also work with flakes?01:26:01
@elvishjerricco:matrix.orgElvishJerriccoshould01:26:29
@sross:matrix.orgSean Ross

looks like I needed to do something like sudo nixos-rebuild --flake "git+file:///etc/nixos/#<system_name>" repl
and it appears it is in there somewhere.

nix-repl> builtins.attrNames config.networking.interfaces
[
  "lan1"
  "wan1"
]

01:30:40
@elvishjerricco:matrix.orgElvishJerricco Sean Ross: You can look for the definitions with options.networking.interfaces.definitionsWithLocations I think 01:42:10
@sross:matrix.orgSean RossThank you01:44:28
@kdk12:matrix.orgKDK12Hey! With NixOS’s OpenSSH service, is there a way to specify user-specific SSH configuration like this — especially the ForceCommand option? Match User <user> ForceCommand <command> AllowTcpForwarding no PasswordAuthentication no Or do I have to use services.openssh.extraConfig for that?08:54:11
@magic_rb:matrix.redalder.orgmagic_rbExtra config afaik09:23:18
@kdk12:matrix.orgKDK12Ok thank you09:46:19
@nrbray:matrix.orgNigelI've just switched on a zyxel nwa50ax pro and find it is trying to call home to 'nebula' if it found an internet connection. Seems outrageous to me. I'm all in with Nix home servers and laptops. Before I setup, may I ask here how best to avoid this snooping? I guess even the zyxel router will try too.11:37:55
@hexa:lossy.networkhexadon't connect to internet, flash openwrt instead 😄 11:39:02
@antifuchs:asf.computerantifuchs(That sounds like an anti-endorsement of openwrt, lol)12:04:55
@k900:0upti.meK900Just flash nixos instead :P12:05:40
@nrbray:matrix.orgNigel128mb ram :(12:06:27
* @k900:0upti.meK900 stares at mt7996 source12:06:48
@elvishjerricco:matrix.orgElvishJerricco... flash a nixos initrd with networkd in it? :P12:06:50
@elvishjerricco:matrix.orgElvishJerriccooh wait you said ram, I thought you said storage12:07:10
@elvishjerricco:matrix.orgElvishJerricco honestly I bet a minimal nixos could boot in 128M of ram 12:07:20
@elvishjerricco:matrix.orgElvishJerriccoyou'd just have to build it externally12:07:27
@k900:0upti.meK900Oof12:07:57
@k900:0upti.meK900It's a 7981 with 128MB of RAM?12:08:02
@k900:0upti.meK900OK no12:08:13
@k900:0upti.meK900It's 512MB of RAM12:08:16
@k900:0upti.meK900And 256MB of storage12:08:19
@k900:0upti.meK900According to openwrt wiki12:08:23
@k900:0upti.meK900That's more reasonable for a 798112:08:27
@k900:0upti.meK900https://openwrt.org/toh/zyxel/nwa50ax_pro12:08:39
@elvishjerricco:matrix.orgElvishJerriccoyea 512M is plenty to boot. 256M is too little storage though, so that would have to just be kernel / initrd, either with external storage or just running the whole router in initrd12:09:23
@k900:0upti.meK900God I really need to not buy another bpi-r412:10:07

Show newer messages


Back to Room ListRoom Version: 6