mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 06:54:35 +00:00
scanning: use hplipWithPlugin as extraBackend for sane
This commit is contained in:
parent
77984ef59e
commit
f12f74f77a
|
@ -36,7 +36,10 @@ in {
|
||||||
myOptions.system.impermanence.home.extraDirectories = optional cfg.hplip.enable ".hplip";
|
myOptions.system.impermanence.home.extraDirectories = optional cfg.hplip.enable ".hplip";
|
||||||
|
|
||||||
# Support for SANE (Scanner Access Now Easy) scanners
|
# Support for SANE (Scanner Access Now Easy) scanners
|
||||||
hardware.sane.enable = true;
|
hardware.sane = {
|
||||||
|
enable = true;
|
||||||
|
extraBackends = optional cfg.hplip.enable pkgs.hplipWithPlugin;
|
||||||
|
};
|
||||||
|
|
||||||
users.extraGroups.scanner.members = ["${cfgUser}"];
|
users.extraGroups.scanner.members = ["${cfgUser}"];
|
||||||
users.extraGroups.lp.members = ["${cfgUser}"];
|
users.extraGroups.lp.members = ["${cfgUser}"];
|
||||||
|
|
Loading…
Reference in a new issue