From e0c55201755a18ad7ed56acafbfc0084c75bc483 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 25 Jan 2024 19:20:04 +0100 Subject: [PATCH] fix: remove unused cups-brother-hl3140cw driver --- modules/nix/default.nix | 1 - modules/printing/default.nix | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 6cbeb7f7..bad092e2 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -8,7 +8,6 @@ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "1password" "1password-cli" - "cups-brother-hl3140cw" "facetimehd-firmware" "slack" "veracrypt" diff --git a/modules/printing/default.nix b/modules/printing/default.nix index ac1e4c19..f9115b33 100644 --- a/modules/printing/default.nix +++ b/modules/printing/default.nix @@ -21,9 +21,7 @@ in { services.printing.drivers = [ pkgs.gutenprint - ] ++ (if (pkgs.system == "x86_64-linux") - then [ pkgs.cups-brother-hl3140cw ] - else []); + ]; users.users."${psCfg.user.name}" = { extraGroups = ["lp" "scanner"];