1
0
forked from extern/zaneyos

Add scanning support to printer

This commit is contained in:
Jerry Starke 2024-02-08 04:43:53 +01:00
parent 01bbdaeca2
commit b16583cd23

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, username, ... }:
let inherit (import ../../options.nix) printer; in
lib.mkIf (printer == true) {
@ -10,4 +10,6 @@ lib.mkIf (printer == true) {
openFirewall = true;
};
};
hardware.sane.enable = true;
users.users.${username}.extraGroups = ["scanner" "lp"];
}