about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-06-26 02:06:25 +0200
committeraszlig <aszlig@nix.build>2021-06-26 02:09:31 +0200
commitab19ca3cb96d7058f0d8e8207a1d3d2cc1b094d8 (patch)
treeb84be1861b7d96c63d599cee166eb36ba0d7611c /machines/aszlig
parenta514ab6092f22f025460be971bf7dc9c0c80ff77 (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/dnyarri.nix10
1 files changed, 0 insertions, 10 deletions
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;