Files
nixos-config/modules/host/printing.nix
T

26 lines
423 B
Nix
Raw Normal View History

2025-07-18 16:25:27 +03:00
{ config, lib, pkgs, ... }:
2025-02-02 14:57:36 +03:00
lib.mkIf config.services.printing.enable {
2025-07-18 16:25:27 +03:00
services = {
printing.drivers = with pkgs; [
brlaser
];
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
2025-02-02 14:57:36 +03:00
};
2025-08-22 20:03:26 +03:00
hardware.sane = {
enable = true;
extraBackends = with pkgs; [ sane-airscan ];
};
environment.systemPackages = with pkgs; [
sane-frontends
simple-scan
];
2025-02-02 14:57:36 +03:00
}