summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-06-05 00:46:13 +0200
committertv <tv@krebsco.de>2021-06-05 11:49:57 +0200
commit218a50aba48dd74561d8d14a46a9198417fec340 (patch)
tree172ef18ddfd4cfe7f2bf636ca34f6b0651ab3182 /tv/2configs
parent0b10624695da81a82e13f31282ba3d20a017115c (diff)
tv utsushi-customized: use upstream package
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/xp-332.nix19
1 files changed, 8 insertions, 11 deletions
diff --git a/tv/2configs/xp-332.nix b/tv/2configs/xp-332.nix
index a66b884..daabe5b 100644
--- a/tv/2configs/xp-332.nix
+++ b/tv/2configs/xp-332.nix
@@ -19,17 +19,14 @@ with import <stockholm/lib>;
packageName pkg == "imagescan-plugin-networkscan";
nixpkgs.overlays = singleton (self: super: {
- utsushi-customized = self.utsushi.override {
- guiSupport = false;
- jpegSupport = false;
- networkSupport = true;
- ocrSupport = false;
- saneSupport = true;
- tiffSupport = true;
-
- logCategory = "ALL";
- logLevel = "BRIEF";
- };
+ 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 = {