diff options
author | lassulus <git@lassul.us> | 2023-04-28 17:27:07 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-04-28 17:27:07 +0200 |
commit | 33bed40187be3e1d1d89b52e104c58453d735050 (patch) | |
tree | 2a72223e0cb1cce8fa37a14976adbbfe9b3c76e9 /tv/2configs | |
parent | b7c249b620f6431e673732f43904ab7d8126c6bf (diff) | |
parent | 72de0dd65937dde91c9926bac3ba053d69e0769e (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/xp-332.nix | 42 |
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 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; - }; - -} |