From adf6baa00e038e49cf477160eeddc886efced2b4 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 12 Feb 2023 21:25:23 +0900 Subject: feat(nixos/alpha): use avahi for printers --- nixos/alpha/configuration.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'nixos') diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 332c25a..8e366e2 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -138,13 +138,9 @@ hardware.bluetooth.enable = true; services.printing.enable = true; - services.printing.drivers = [ pkgs.gutenprint pkgs.samsung-unified-linux-driver pkgs.brgenml1lpr pkgs.brgenml1cupswrapper ]; - - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem - (lib.getName pkg) [ - "samsung-UnifiedLinuxDriver" - "brgenml1lpr" - ]; + services.avahi.enable = true; + services.avahi.nssmdns = true; + services.avahi.openFirewall = true; services.greetd = { enable = true; -- cgit 1.4.1