2024-10-06 15:25:05 -05:00
|
|
|
{
|
|
|
|
hardware.printers = {
|
|
|
|
ensurePrinters = [
|
|
|
|
{
|
|
|
|
name = "Canon-TR7620a";
|
|
|
|
location = "Downstairs";
|
|
|
|
deviceUri = "https://10.0.0.234";
|
|
|
|
model = "drv:///sample.drv/generic.ppd";
|
|
|
|
ppdOptions = {
|
|
|
|
PageSize = "Letter";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "Brother-HL-2170W";
|
|
|
|
location = "Upstairs";
|
2024-11-01 17:44:27 -05:00
|
|
|
deviceUri = "https://192.168.50.195";
|
2024-10-06 15:25:05 -05:00
|
|
|
model = "drv:///sample.drv/generic.ppd";
|
|
|
|
ppdOptions = {
|
|
|
|
PageSize = "Letter";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2024-11-01 17:44:27 -05:00
|
|
|
ensureDefaultPrinter = "Brother-HL-2170W";
|
|
|
|
};
|
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
allowedTCPPorts = [
|
|
|
|
631
|
|
|
|
];
|
|
|
|
};
|
2024-10-06 15:25:05 -05:00
|
|
|
};
|
|
|
|
}
|