mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-02-27 05:50:49 +01:00
Add dependencies to make network scanning work
This commit is contained in:
parent
b16583cd23
commit
03897fd478
@ -1,4 +1,4 @@
|
||||
{ config, lib, username, ... }:
|
||||
{ config, lib, pkgs, username, ... }:
|
||||
|
||||
let inherit (import ../../options.nix) printer; in
|
||||
lib.mkIf (printer == true) {
|
||||
@ -9,7 +9,12 @@ lib.mkIf (printer == true) {
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
ipp-usb.enable = true;
|
||||
};
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = [pkgs.sane-airscan];
|
||||
disabledDefaultBackends = ["escl"];
|
||||
};
|
||||
hardware.sane.enable = true;
|
||||
users.users.${username}.extraGroups = ["scanner" "lp"];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user