From 287abe234d3778962664b83e09d2eb1e3c1ead80 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 1 Mar 2017 14:56:01 +0100 Subject: Sane environment variable --- hel.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hel.nix') diff --git a/hel.nix b/hel.nix index 5e314af8..95db2ebb 100644 --- a/hel.nix +++ b/hel.nix @@ -425,6 +425,8 @@ environment.etc."sane.d/dll.conf".text = "xerox_mfp"; environment.etc."sane.d/xerox_mfp.conf".text = "tcp printer.asgard.yggdrasil"; + environment.sessionVariables = { "SANE_CONFIG_DIR" = "/etc/sane.d"; }; + systemd.services."kill-user@" = { serviceConfig = { Type = "oneshot"; -- cgit v1.2.3