ninurta: change brother ppl

This commit is contained in:
Tim Schubert 2023-12-31 17:28:40 +01:00
parent 7c9ffc4f2f
commit 78328291db
Signed by: dadada
SSH key fingerprint: SHA256:bFAjFH3hR8zRBaJjzQDjc3o4jqoq5EZ87l+KXEjxIz0

View file

@ -1,18 +1,11 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
services.printing = {
enable = true;
drivers = [ pkgs.brlaser ];
# Remove all state at the start of the service
stateless = true;
};
hardware = { hardware = {
printers = { printers = {
ensurePrinters = [ ensurePrinters = [
{ {
name = "Brother_HL-L2310D"; name = "Brother_HL-L2300D";
model = "drv:///brlaser.drv/brl2320d.ppd"; model = "drv:///brlaser.drv/brl2300d.ppd";
location = "BS"; location = "BS";
deviceUri = "usb://Brother/HL-L2310D%20series?serial=E78096H3N771439"; deviceUri = "usb://Brother/HL-L2310D%20series?serial=E78096H3N771439";
ppdOptions = { ppdOptions = {
@ -35,6 +28,10 @@
}; };
services.printing = { services.printing = {
enable = true;
drivers = [ pkgs.brlaser ];
# Remove all state at the start of the service
stateless = true;
listenAddresses = [ "192.168.101.184:631" "fd42:9c3b:f96d:101:4a21:bff:fe3e:9cfe:631" ]; listenAddresses = [ "192.168.101.184:631" "fd42:9c3b:f96d:101:4a21:bff:fe3e:9cfe:631" ];
allowFrom = [ "from 192.168.101.0/24" ]; allowFrom = [ "from 192.168.101.0/24" ];
browsing = true; browsing = true;