add nb-new
This commit is contained in:
25
hosts/nb-new.cloonar.com/modules/printer.nix
Normal file
25
hosts/nb-new.cloonar.com/modules/printer.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
in {
|
||||
services.printing.enable = true;
|
||||
# services.printing.drivers = [ pkgs.brlaser ];
|
||||
# services.avahi.enable = true;
|
||||
# services.avahi.nssmdns = true;
|
||||
# services.avahi.openFirewall = true;
|
||||
|
||||
hardware.printers = {
|
||||
ensureDefaultPrinter = "Cloonar";
|
||||
ensurePrinters = [
|
||||
{
|
||||
name = "epicenter.works";
|
||||
deviceUri = "ipp://mercury.epicenter.intra/ipp/print";
|
||||
model = "everywhere";
|
||||
}
|
||||
{
|
||||
name = "Cloonar";
|
||||
deviceUri = "ipp://brn30055c566237.cloonar.multimedia/ipp/print";
|
||||
model = "everywhere";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user