From 6d7618014d8e8f051e0995b210120b8e094621d1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 19 May 2016 22:58:32 +0200 Subject: printer --- hel.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hel.nix b/hel.nix index 35eb525d..79db1fb4 100644 --- a/hel.nix +++ b/hel.nix @@ -197,6 +197,11 @@ LABEL="mbim_to_qmi_rules_end" ''; + + printing = { + enabled = true; + drivers = with pkgs; [ samsung-unified-printing-driver ]; + }; }; users = { @@ -238,6 +243,12 @@ }; bluetooth.enable = true; + + sane = { + enable = true; + extraBackends = with pkgs; [ samsung-unified-linux-driver ]; + configDir = "/etc/sane.d"; + }; }; sound.enable = true; @@ -250,5 +261,8 @@ }; environment.etc."X11/xorg.conf.d/50-wacom.conf".source = lib.mkForce ./hel/wacom.conf; + + environment.etc."sane.d/dll.conf".text = "xerox_mfp"; + environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; } -- cgit v1.2.3