From 0e605320e5454e19c0d1255f642ea5ff71b2ab69 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 11 Apr 2023 00:18:44 +0900 Subject: Revert "feat(nixos/alpha): use avahi for printing" This reverts commit 37c2b51c814d1b8843fc69cd62d3e9ef963fa655. --- nixos/alpha/configuration.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'nixos') diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 3b0a000..32babda 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -134,9 +134,13 @@ hardware.bluetooth.enable = true; services.printing.enable = true; - services.avahi.enable = true; - services.avahi.nssmdns = true; - services.avahi.openFirewall = 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.pcscd.enable = true; -- cgit 1.4.1