summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xp-332.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-06-03 15:50:01 +0200
committermakefu <github@syntax-fehler.de>2023-06-03 15:50:01 +0200
commita60aacf252e2d5e6e70ee080904fba1ee0285dfa (patch)
tree313e5c9350037d4e5ea93b43034cdd17aaee9f54 /tv/2configs/xp-332.nix
parent017fb26a808f2af56214c8e2c6a3b9a17fae8c38 (diff)
parent8b4f11473eceeeb95a79a321f9c411e66cc741cd (diff)
Merge remote-tracking branch 'lassul.us/master'
Diffstat (limited to 'tv/2configs/xp-332.nix')
-rw-r--r--tv/2configs/xp-332.nix42
1 files changed, 0 insertions, 42 deletions
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;
- };
-
-}