nixos-config/2configs/printer.nix
2016-02-11 17:06:50 +01:00

15 lines
277 B
Nix

{ pkgs, ... }:
{
services.printing = {
enable = true;
drivers = [
pkgs.samsungUnifiedLinuxDriver
];
};
# scanners are printers just in reverse anyway
hardware.sane.enable = true;
hardware.sane.extraBackends = [ pkgs.samsungUnifiedLinuxDriver ];
}