!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

916 Members
Declaratively manage your switching, routing, wireless, tunneling and more.274 Servers

Load older messages


SenderMessageTime
19 May 2026
@sandro:supersandro.deSandro 🐧yep21:03:51
@sandro:supersandro.deSandro 🐧I also know that from intel-graphics-compiler and intel-compute-runtime21:04:06
@sandro:supersandro.deSandro 🐧* I also know that update strategy from intel-graphics-compiler and intel-compute-runtime21:04:13
20 May 2026
@me:nahsi.devnahsi joined the room.09:10:32
@me:nahsi.devnahsi left the room.09:41:05
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneCan systemd networkd replace the functionality of avahi mDNS these days?19:05:57
@k900:0upti.meK900resolved19:06:51
@aktaboot:tchncs.deaktabooti think so? but i didnt set it up, yet 🤔, but soon(tm)19:06:52
@k900:0upti.meK900But mostly yes19:06:52
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneorly19:07:11
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonebecause avahi doesn't work on armv6 so breaks my use-case19:07:22
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI want to advertise a printer using cups with mDNS19:07:48
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonedoes it support that nssmdns feature?19:11:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehmm19:40:08
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneguess not https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/printing/cupsd.nix#L47319:40:11
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonelooks like our cupsd is hardcoded to avahi19:40:14
@k900:0upti.meK900cups-browsed is discovery19:40:57
@k900:0upti.meK900Not publishing19:40:59
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneah okay19:41:10
@k900:0upti.meK900 That does require avahi, though I think they're working on resolved support 19:41:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI can't seem to get my printers to be advertised this way though19:44:14
@k900:0upti.meK900You need to add a service file19:44:37
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone

so I have a pi zero, running cups like this

  services.ipp-usb.enable = true;
  services.avahi.enable = pkgs.lib.mkForce false;
  services.printing = {
    enable = true;
    listenAddresses = [ "*:631" ];
    allowFrom = [ "all" ];
    browsing = true;
    stateless = true;
    defaultShared = true;
    openFirewall = true;
    drivers = [
      x86Pkgs.gutenprint
      (import (builtins.getFlake "github:matthewcroughan/nixpkgs/3899aabdacb26c465fecd5e799448ea319341890") { system = "i686-linux"; config.allowUnfree = true; }).cnijfilter_4_00
    ];

    extraConf = ''
      ServerAlias *
      DefaultEncryption Never
      DefaultAuthType Basic
      WebInterface Yes

      <Location />
        Order allow,deny
        Allow all
        Encryption Never
      </Location>

      <Location /admin>
        Order allow,deny
        Allow all
        Encryption Never
      </Location>
    '';
  };
19:44:42
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneTo what option?19:44:57
@k900:0upti.meK900 I don't remember the details 19:45:29
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonehttps://wiki.nixos.org/wiki/Printing#Printer_sharing suggests no service file 19:45:33
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAh you mean if I'm not using avahi19:45:40
22 May 2026
@chayleaf:matrix.pavluk.orgchayleaf changed their profile picture.08:47:19
26 May 2026
@hexa:lossy.networkhexacan I get the default nixos firewall rules with nft?10:11:28
@hexa:lossy.networkhexabecause toggling networking.nftable.enable will probably ship me an empty ruleset10:11:46

Show newer messages


Back to Room ListRoom Version: 6