From 23ea133db94ec1da4454438fb33ce670747be59f Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 25 Apr 2023 13:10:39 +0200 Subject: tv xp-332: RIP --- tv/1systems/querel/config.nix | 1 - tv/1systems/xu/config.nix | 1 - tv/2configs/xp-332.nix | 42 ------------------------------------------ 3 files changed, 44 deletions(-) delete mode 100644 tv/2configs/xp-332.nix (limited to 'tv') diff --git a/tv/1systems/querel/config.nix b/tv/1systems/querel/config.nix index 8df29f75e..7ba7d1620 100644 --- a/tv/1systems/querel/config.nix +++ b/tv/1systems/querel/config.nix @@ -3,7 +3,6 @@ with import ./lib; imports = [ - ]; krebs.build.host = config.krebs.hosts.querel; diff --git a/tv/1systems/xu/config.nix b/tv/1systems/xu/config.nix index b83d01f02..80d16e686 100644 --- a/tv/1systems/xu/config.nix +++ b/tv/1systems/xu/config.nix @@ -17,7 +17,6 @@ with import ./lib; - diff --git a/tv/2configs/xp-332.nix b/tv/2configs/xp-332.nix deleted file mode 100644 index 51fd1ae8c..000000000 --- a/tv/2configs/xp-332.nix +++ /dev/null @@ -1,42 +0,0 @@ -with import ./lib; -{ config, pkgs, ... }: { - - environment.etc."utsushi.conf".text = '' - [devices] - dev1.udi = esci:networkscan://ep.hkw:1865 - dev1.model = XP-332 - dev1.vendor = EPSON - ''; - - hardware.sane = { - enable = true; - extraBackends = [ - pkgs.utsushi-customized - ]; - }; - - krebs.nixpkgs.allowUnfreePredicate = pkg: - packageName pkg == "imagescan-plugin-networkscan"; - - nixpkgs.overlays = singleton (self: super: { - utsushi-customized = self.utsushi.overrideAttrs (old: { - postInstall = '' - ${old.postInstall or ""} - ln -s /etc/utsushi.conf $out/etc/utsushi/utsushi.conf - ln -s ${pkgs.imagescan-plugin-networkscan}/lib/utsushi/networkscan \ - $out/libexec/utsushi/ - ''; - }); - }); - - services = { - printing = { - drivers = [ - pkgs.epson-escpr - ]; - enable = true; - }; - saned.enable = true; - }; - -} -- cgit v1.2.3