about summary refs log tree commit diff
path: root/nixos/release-small.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2022-12-22 16:19:47 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2022-12-25 12:34:50 +0100
commit700adb32e9cef98c1acddfd8ef4967471c44faa6 (patch)
tree1aade39446dc4a9c7397d935a6997db634a83e7e /nixos/release-small.nix
parentd70cee46ab9b0908157613ab6f27fc38f12aec69 (diff)
nixos/sane: point SANE_CONFIG_DIR away from /etc/sane.d
This brings back the ability to e.g. configure sane-airscan with
`environment.etc."sane.d/airscan.conf".text = ...`.

(AFAICT, sane-airscan loads all config files it finds, so it'll first
load the one from the nixos hardware.sane.* configuration, then the user
specified one in /etc/sane.d/airscan.conf.)

Fixes: 4fbec87a5bfc ("nixos/sane: point env vars to /etc for quick reload")

Fixes https://github.com/NixOS/nixpkgs/issues/207262
Diffstat (limited to 'nixos/release-small.nix')
0 files changed, 0 insertions, 0 deletions