summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-07-22 18:01:08 +0200
committerAlan Pearce2018-07-22 18:01:08 +0200
commit7e6dc94ba96b8fb66c9cc99d6a9ab79d772679de (patch)
treef39b18959ccd766e1eec7163e216566fc73fc0c4
parent86de06ed1db69588d5290c9e679f675ab12ad6ae (diff)
downloadnixos-configuration-7e6dc94ba96b8fb66c9cc99d6a9ab79d772679de.tar.lz
nixos-configuration-7e6dc94ba96b8fb66c9cc99d6a9ab79d772679de.tar.zst
nixos-configuration-7e6dc94ba96b8fb66c9cc99d6a9ab79d772679de.zip
SatoshiPay: override cups-toshiba-estudio
-rw-r--r--modules/satoshipay.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix
index 68fe6e3..75832db 100644
--- a/modules/satoshipay.nix
+++ b/modules/satoshipay.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ config, pkgs, fetchurl, lib, ... }:
 
 { virtualisation = {
     docker = {
@@ -63,7 +63,13 @@
 
 
   services.printing.drivers = with pkgs; [
-    cups-toshiba-estudio
+    (cups-toshiba-estudio.overrideAttrs (oldAttrs: {
+      version = "7.89";
+      src = pkgs.fetchurl {
+        url = http://business.toshiba.com/downloads/KB/f1Ulds/15178/TOSHIBA_ColorMFP_CUPS.tar;
+        sha256 = "0qz4r7q55i0adf4fv3aqnfqgi2pz3jb1jixkqm9x6nk4vanyjf4r";
+      };
+    }))
   ];
 
   networking.domain = "satoshipay.io";