diff options
author | makefu <github@syntax-fehler.de> | 2023-06-03 15:50:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-06-03 15:50:01 +0200 |
commit | 15f4d5f29d3a4b662376f362d21e5b163bd7c5e1 (patch) | |
tree | 77b0239c8899207b76fdef85090db7aa2b6e3eea /tv/2configs | |
parent | 563b55fa133a38aacff93747773f026b0681eece (diff) | |
parent | 7c3b3400b71678617ac042b522c26e747b8312c2 (diff) |
Merge remote-tracking branch 'lassul.us/master'
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/gitrepos.nix | 3 | ||||
-rw-r--r-- | tv/2configs/xp-332.nix | 42 |
2 files changed, 3 insertions, 42 deletions
diff --git a/tv/2configs/gitrepos.nix b/tv/2configs/gitrepos.nix index eb87f26d1..58dffe6a6 100644 --- a/tv/2configs/gitrepos.nix +++ b/tv/2configs/gitrepos.nix @@ -96,6 +96,9 @@ with import ./lib; nix-writers = { cgit.desc = "collection of package builders"; }; + nixpkgs = { + cgit.desc = "Nix Packages collection"; + }; pager = { }; populate = { 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; - }; - -} |