2023-03-10 15:22:39 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2022-05-25 08:36:03 +00:00
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = with pkgs; [
|
|
|
|
brlaser
|
|
|
|
];
|
|
|
|
browsing = true;
|
2022-06-12 15:39:15 +00:00
|
|
|
listenAddresses = ["*:631"];
|
|
|
|
allowFrom = ["all"];
|
2022-05-25 08:36:03 +00:00
|
|
|
defaultShared = true;
|
2022-05-25 11:36:37 +00:00
|
|
|
extraConf = ''
|
|
|
|
ServerAlias *
|
|
|
|
'';
|
2022-05-25 08:36:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
services.avahi = {
|
|
|
|
enable = true;
|
|
|
|
publish.enable = true;
|
|
|
|
publish.userServices = true;
|
|
|
|
};
|
2023-03-10 15:22:39 +00:00
|
|
|
|
2023-11-04 17:38:38 +00:00
|
|
|
#imports = ["${nixpkgs}/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix"];
|
2023-03-10 15:22:39 +00:00
|
|
|
hardware.sane.enable = true;
|
2022-05-25 08:36:03 +00:00
|
|
|
}
|