From 90e15b65fa4bf1ebf9ec1f2c788c9acbcfb8005a Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 18 Feb 2023 20:07:41 +0900 Subject: Revert "feat(nixos/alpha): use avahi for printers" This reverts commit b576ee0a51164224ee1186f789bd15c042e9ed85. --- nixos/alpha/configuration.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'nixos/alpha') diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 558d57c..551bc03 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -135,9 +135,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.greetd = { enable = true; -- cgit 1.4.1