From ab19ca3cb96d7058f0d8e8207a1d3d2cc1b094d8 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 26 Jun 2021 02:06:25 +0200 Subject: dnyarri: Remove hplip backend I no longer have a scanner that requires to have hplip and/or any of the proprietary parts of it, so let's keep it out of the machine configuration. Signed-off-by: aszlig --- machines/aszlig/dnyarri.nix | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'machines') diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix index 44aacc1d..e395e387 100644 --- a/machines/aszlig/dnyarri.nix +++ b/machines/aszlig/dnyarri.nix @@ -45,19 +45,9 @@ in { pkgs.paperwork ]; - # This is very ugly and I really want to avoid non-free packages on all - # of my workstations. But right now I need to get rid of useless paper. - nixpkgs.config.allowUnfreePredicate = pkg: let - inherit (builtins.parseDrvName (pkg.name or "")) name; - in name == "hplip"; - nixpkgs.overlays = lib.singleton (lib.const (super: { - hplip = super.hplip.override { withPlugin = true; }; - })); - hardware.cpu.amd.updateMicrocode = true; hardware.sane.enable = true; - hardware.sane.extraBackends = [ pkgs.hplip ]; hardware.enableRedistributableFirmware = true; -- cgit 1.4.1