feat(Printing): Add module for printing
This commit is contained in:
1 parent
3a7c3948d9
commit
0bd0df452d
2 files changed
+26
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
lib.mkIf config.services.printing.enable {
|
||||
services = {
|
||||
printing.drivers = with pkgs; [
|
||||
brlaser
|
||||
];
|
||||
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
extraBackends = with pkgs; [ sane-airscan ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
sane-frontends
|
||||
simple-scan
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user