printer
This commit is contained in:
@@ -1,29 +1,28 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
brother = "Brother_HL-L2360D";
|
|
||||||
hostName = "brn30055c566237.cloonar.multimedia";
|
|
||||||
in {
|
in {
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.printing.drivers = [ pkgs.brlaser ];
|
# services.printing.drivers = [ pkgs.brlaser ];
|
||||||
services.avahi.enable = true;
|
services.avahi.enable = true;
|
||||||
services.avahi.nssmdns = true;
|
services.avahi.nssmdns = true;
|
||||||
services.avahi.openFirewall = true;
|
services.avahi.openFirewall = true;
|
||||||
|
|
||||||
# hardware.printers = {
|
hardware.printers = {
|
||||||
# ensureDefaultPrinter = brother;
|
ensureDefaultPrinter = "Cloonar";
|
||||||
# ensurePrinters = [
|
ensurePrinters = [
|
||||||
# {
|
# {
|
||||||
# name = "Office";
|
# name = "Office";
|
||||||
# deviceUri = "socket://mercury.epicenter.intra";
|
# deviceUri = "socket://mercury.epicenter.intra";
|
||||||
# description = lib.replaceStrings [ "_" ] [ " " ] brother;
|
# description = lib.replaceStrings [ "_" ] [ " " ] brother;
|
||||||
# location = "Office";
|
# location = "Office";
|
||||||
# }
|
# }
|
||||||
# {
|
{
|
||||||
# name = "Cloonar";
|
name = "Cloonar";
|
||||||
# deviceUri = "socket://mercury.epicenter.intra";
|
deviceUri = "ipp://brn30055c566237.cloonar.multimedia/ipp";
|
||||||
# description = lib.replaceStrings [ "_" ] [ " " ] brother;
|
model = "everywhere";
|
||||||
# location = "Office";
|
description = "Brother HL-L2360D";
|
||||||
# }
|
location = "Office";
|
||||||
# ];
|
}
|
||||||
# };
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user