mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-25 06:23:59 +02:00
Add scanning support to printer
This commit is contained in:
parent
01bbdaeca2
commit
b16583cd23
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, username, ... }:
|
||||||
|
|
||||||
let inherit (import ../../options.nix) printer; in
|
let inherit (import ../../options.nix) printer; in
|
||||||
lib.mkIf (printer == true) {
|
lib.mkIf (printer == true) {
|
||||||
@ -10,4 +10,6 @@ lib.mkIf (printer == true) {
|
|||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
hardware.sane.enable = true;
|
||||||
|
users.users.${username}.extraGroups = ["scanner" "lp"];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user