Add speer
This commit is contained in:
parent
c754f862b6
commit
7ff389b92c
7 changed files with 142 additions and 0 deletions
16
host/speer/printing.nix
Normal file
16
host/speer/printing.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
hardware.printers.ensureDefaultPrinter = "hsr-mfp-8261";
|
||||
hardware.printers.ensurePrinters = [{
|
||||
name = "hsr-mfp-8261";
|
||||
deviceUri = "smb://hsr.ch/printsrv-d.hsr.ch/d8261-a4mfp";
|
||||
location = "HSR 8.261";
|
||||
model = "HP/hp-color_laserjet_mfp_m577-ps.ppd.gz";
|
||||
ppdOptions = {
|
||||
Duplex = "DuplexNoTumble";
|
||||
PageSize = "A4";
|
||||
auth-info-required = "username,password";
|
||||
};
|
||||
}];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue