diff options
author | EuAndreh <eu@euandre.org> | 2023-02-18 10:02:09 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-18 10:02:09 -0300 |
commit | 541f6250b6867e729f5a96234f185df7f1c68711 (patch) | |
tree | 2360c752dc5979e8a289486d02dd1c4517179dee | |
parent | etc/xmobar/xmobarrc: Don't flood DBus when "wms mpris" fails (diff) | |
download | dotfiles-541f6250b6867e729f5a96234f185df7f1c68711.tar.gz dotfiles-541f6250b6867e729f5a96234f185df7f1c68711.tar.xz |
etc/nix/configuration.nix: Remove and disable CUPS configuration
-rw-r--r-- | etc/nix/configuration.nix | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/etc/nix/configuration.nix b/etc/nix/configuration.nix index 8e5e4b3..f278805 100644 --- a/etc/nix/configuration.nix +++ b/etc/nix/configuration.nix @@ -171,52 +171,6 @@ in { reflector = true; }; - printing = { - enable = true; - drivers = let - epson-201401w = with pkgs; - stdenv.mkDerivation rec { - v = "201401w"; - pname = "epson-${v}"; - version = "1.0.0"; - - src = fetchurl { - urls = [ - "https://download.ebz.epson.net/dsc/op/stable/SRPMS/epson-inkjet-printer-${v}-${version}-1lsb3.2.src.rpm" - "https://download3.ebz.epson.net/dsc/f/03/00/03/45/41/92e9c9254f0ee4230a069545ba27ec2858a2c457/epson-inkjet-printer-201401w-1.0.0-1lsb3.2.src.rpm" - ]; - sha256 = "0c60m1sd59s4sda38dc5nniwa7dh1b0kv1maajr0x9d38gqlyk3x"; - }; - - nativeBuildInputs = [ rpmextract autoreconfHook file ]; - - buildInputs = [ libjpeg cups ]; - - unpackPhase = '' - rpmextract $src - tar -zxf epson-inkjet-printer-${v}-${version}.tar.gz - tar -zxf epson-inkjet-printer-filter-${version}.tar.gz - for ppd in epson-inkjet-printer-${v}-${version}/ppds/*; do - substituteInPlace $ppd --replace "/opt/epson-inkjet-printer-${v}" "$out" - substituteInPlace $ppd --replace "/cups/lib" "/lib/cups" - done - cd epson-inkjet-printer-filter-${version} - ''; - - postInstall = '' - cd ../epson-inkjet-printer-${v}-${version} - cp -a lib64 resource watermark $out - mkdir -p $out/share/cups/model/epson-inkjet-printer-${v} - cp -a ppds $out/share/cups/model/epson-inkjet-printer-${v}/ - cp -a Manual.txt $out/doc/ - cp -a README $out/doc/README.driver - ''; - }; - in [ - epson-201401w - ]; - }; - xserver = { enable = true; layout = "br"; |