From 37c2b51c814d1b8843fc69cd62d3e9ef963fa655 Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 20 Feb 2023 22:18:46 +0900 Subject: feat(nixos/alpha): use avahi for printing --- 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 c0ad6fb..5b11de4 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -135,13 +135,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