tv xp-332: RIP
This commit is contained in:
parent
5707243374
commit
23ea133db9
|
@ -3,7 +3,6 @@ with import ./lib;
|
||||||
imports = [
|
imports = [
|
||||||
<stockholm/tv>
|
<stockholm/tv>
|
||||||
<stockholm/tv/2configs/retiolum.nix>
|
<stockholm/tv/2configs/retiolum.nix>
|
||||||
<stockholm/tv/2configs/xp-332.nix>
|
|
||||||
];
|
];
|
||||||
|
|
||||||
krebs.build.host = config.krebs.hosts.querel;
|
krebs.build.host = config.krebs.hosts.querel;
|
||||||
|
|
|
@ -17,7 +17,6 @@ with import ./lib;
|
||||||
<stockholm/tv/2configs/retiolum.nix>
|
<stockholm/tv/2configs/retiolum.nix>
|
||||||
<stockholm/tv/2configs/binary-cache>
|
<stockholm/tv/2configs/binary-cache>
|
||||||
<stockholm/tv/2configs/br.nix>
|
<stockholm/tv/2configs/br.nix>
|
||||||
<stockholm/tv/2configs/xp-332.nix>
|
|
||||||
<stockholm/tv/2configs/xserver>
|
<stockholm/tv/2configs/xserver>
|
||||||
<stockholm/tv/2configs/xsessions>
|
<stockholm/tv/2configs/xsessions>
|
||||||
<stockholm/tv/2configs/xserver/xkiller.nix>
|
<stockholm/tv/2configs/xserver/xkiller.nix>
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue