From 964379114f85e270e45ebbb587be6403ef1bc977 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Tue, 4 Jun 2024 21:11:04 +0200 Subject: [PATCH] hosts: correct avahi --- hosts/desktop/default.nix | 18 +++++++++--------- hosts/dmz/default.nix | 2 +- hosts/jupiter/default.nix | 2 +- hosts/kabtop/default.nix | 18 +++++++++--------- hosts/laptop/default.nix | 2 +- hosts/nasbackup/default.nix | 2 +- hosts/server/default.nix | 18 +++++++++--------- 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 6fc0367..771d479 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -79,15 +79,15 @@ enable = true; drivers = [ pkgs.gutenprint ]; }; - #avahi = { # Needed to find wireless printer - # enable = true; - # nssmdns = true; - # publish = { # Needed for detecting the scanner - # enable = true; - # addresses = true; - # userServices = true; - # }; - #}; + avahi = { # Needed to find wireless printer + enable = true; + nssmdns4 = true; + publish = { # Needed for detecting the scanner + enable = true; + addresses = true; + userServices = true; + }; + }; hardware.openrgb = { enable = true; motherboard = "amd"; diff --git a/hosts/dmz/default.nix b/hosts/dmz/default.nix index cd2fe7c..d2bcc94 100644 --- a/hosts/dmz/default.nix +++ b/hosts/dmz/default.nix @@ -47,7 +47,7 @@ qemuGuest.enable = true; avahi = { # Needed to find wireless printer enable = true; - nssmdns = true; + nssmdns4 = true; publish = { # Needed for detecting the scanner enable = true; addresses = true; diff --git a/hosts/jupiter/default.nix b/hosts/jupiter/default.nix index cf2edaf..80e6f55 100644 --- a/hosts/jupiter/default.nix +++ b/hosts/jupiter/default.nix @@ -61,7 +61,7 @@ qemuGuest.enable = true; avahi = { # Needed to find wireless printer enable = true; - nssmdns = true; + nssmdns4 = true; publish = { # Needed for detecting the scanner enable = true; addresses = true; diff --git a/hosts/kabtop/default.nix b/hosts/kabtop/default.nix index fbac8b1..e6a6456 100644 --- a/hosts/kabtop/default.nix +++ b/hosts/kabtop/default.nix @@ -69,15 +69,15 @@ services = { #auto-cpufreq.enable = true; qemuGuest.enable = true; - avahi = { # Needed to find wireless printer - enable = true; - nssmdns = true; - publish = { # Needed for detecting the scanner - enable = true; - addresses = true; - userServices = true; - }; - }; + #avahi = { # Needed to find wireless printer + # enable = true; + # nssmdns = true; + # publish = { # Needed for detecting the scanner + # enable = true; + # addresses = true; + # userServices = true; + # }; + #}; fail2ban = { enable = true; maxretry = 5; diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 04058d4..0b022c4 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -86,7 +86,7 @@ }; avahi = { # Needed to find wireless printer enable = true; - nssmdns = true; + nssmdns4 = true; publish = { # Needed for detecting the scanner enable = true; addresses = true; diff --git a/hosts/nasbackup/default.nix b/hosts/nasbackup/default.nix index ffd40c1..e16db95 100644 --- a/hosts/nasbackup/default.nix +++ b/hosts/nasbackup/default.nix @@ -53,7 +53,7 @@ qemuGuest.enable = true; avahi = { # Needed to find wireless printer enable = true; - nssmdns = true; + nssmdns4 = true; publish = { # Needed for detecting the scanner enable = true; addresses = true; diff --git a/hosts/server/default.nix b/hosts/server/default.nix index 0b2cffc..7c927b7 100644 --- a/hosts/server/default.nix +++ b/hosts/server/default.nix @@ -64,15 +64,15 @@ services = { #auto-cpufreq.enable = true; qemuGuest.enable = true; - avahi = { # Needed to find wireless printer - enable = true; - nssmdns = true; - publish = { # Needed for detecting the scanner - enable = true; - addresses = true; - userServices = true; - }; - }; + #avahi = { # Needed to find wireless printer + # enable = true; + # nssmdns = true; + # publish = { # Needed for detecting the scanner + # enable = true; + # addresses = true; + # userServices = true; + # }; + #}; fail2ban = { enable = true; maxretry = 5;