From 9c248a04cbc4659d470ce43a5a7d4c8b73ea4291 Mon Sep 17 00:00:00 2001 From: Reboot-Codes Date: Fri, 18 Apr 2025 20:57:15 -0700 Subject: [PATCH] Printer shenanigans --- common/nixos/default-config.nix | 14 ++++++++++++++ nixos/custom-odin-nixos/configuration.nix | 2 ++ 2 files changed, 16 insertions(+) diff --git a/common/nixos/default-config.nix b/common/nixos/default-config.nix index 8ec6a1d..2fd43c1 100644 --- a/common/nixos/default-config.nix +++ b/common/nixos/default-config.nix @@ -170,6 +170,20 @@ }; }; + avahi = { + enable = true; + openFirewall = true; + nssmdns4 = true; + nssmdns6 = true; + + publish = { + enable = true; + domain = true; + addresses = true; + workstation = true; + }; + }; + flatpak = { remotes = [ { diff --git a/nixos/custom-odin-nixos/configuration.nix b/nixos/custom-odin-nixos/configuration.nix index 6355bb4..c560d2c 100755 --- a/nixos/custom-odin-nixos/configuration.nix +++ b/nixos/custom-odin-nixos/configuration.nix @@ -104,6 +104,8 @@ in { time.timeZone = "America/Phoenix"; networking = { + bridges."rebootvmbr0".interfaces = [ "enp13s0" ]; + firewall = { # Open ports in the firewall. allowedTCPPortRanges = [ { from = 47984; to = 48010; } ]; -- 2.51.2