From 2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 1 Sep 2023 16:17:45 +0900 Subject: feat(nixos/alpha)!: use printer via wlan --- nixos/alpha/configuration.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index a0f2e11..5346f55 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -178,13 +178,8 @@ ''; 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.pcscd.enable = true; -- cgit 1.4.1