summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-04-25 13:10:39 +0200
committertv <tv@krebsco.de>2023-04-25 13:18:22 +0200
commita440dbfccf5dbc0a584aea9137d0c6ff00279fce (patch)
treec9284d3ce49901239dce1be3bc9f07a345d6dda0
parent2879815251fca00f58a758455fbab60790304445 (diff)
tv xp-332: RIP
-rw-r--r--tv/1systems/querel/config.nix1
-rw-r--r--tv/1systems/xu/config.nix1
-rw-r--r--tv/2configs/xp-332.nix42
3 files changed, 0 insertions, 44 deletions
diff --git a/tv/1systems/querel/config.nix b/tv/1systems/querel/config.nix
index 8df29f7..7ba7d16 100644
--- a/tv/1systems/querel/config.nix
+++ b/tv/1systems/querel/config.nix
@@ -3,7 +3,6 @@ with import ./lib;
imports = [
<stockholm/tv>
<stockholm/tv/2configs/retiolum.nix>
- <stockholm/tv/2configs/xp-332.nix>
];
krebs.build.host = config.krebs.hosts.querel;
diff --git a/tv/1systems/xu/config.nix b/tv/1systems/xu/config.nix
index b83d01f..80d16e6 100644
--- a/tv/1systems/xu/config.nix
+++ b/tv/1systems/xu/config.nix
@@ -17,7 +17,6 @@ with import ./lib;
<stockholm/tv/2configs/retiolum.nix>
<stockholm/tv/2configs/binary-cache>
<stockholm/tv/2configs/br.nix>
- <stockholm/tv/2configs/xp-332.nix>
<stockholm/tv/2configs/xserver>
<stockholm/tv/2configs/xsessions>
<stockholm/tv/2configs/xserver/xkiller.nix>
diff --git a/tv/2configs/xp-332.nix b/tv/2configs/xp-332.nix
deleted file mode 100644
index 51fd1ae..0000000
--- 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;
- };
-
-}