aboutsummaryrefslogtreecommitdiffstats
path: root/modules/nixos/sils/printing.nix
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2026-06-23 02:56:12 +0200
committerSilas Schöffel <sils@sils.li>2026-06-23 02:56:12 +0200
commit0ee989b8473bcdf3f7e4c2bb68217cbaab25cdd1 (patch)
tree978f54918d4cecb5af209f1e0655fc227c6d9987 /modules/nixos/sils/printing.nix
parentuser: rename to jaki (diff)
downloadnix-config-0ee989b8473bcdf3f7e4c2bb68217cbaab25cdd1.zip
treewide: rename paths to jaki
Diffstat (limited to 'modules/nixos/sils/printing.nix')
-rw-r--r--modules/nixos/sils/printing.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/modules/nixos/sils/printing.nix b/modules/nixos/sils/printing.nix
deleted file mode 100644
index 44b2a10..0000000
--- a/modules/nixos/sils/printing.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- config,
- lib,
- pkgs,
- ...
-}: let
- cfg = config.sils.printing;
-in {
- options.sils.printing.enable = lib.mkEnableOption "printing configuration";
- config = lib.mkIf cfg.enable {
- services = {
- printing = {
- enable = true;
- cups-pdf.enable = true;
- startWhenNeeded = true;
- webInterface = true;
- stateless = true;
- drivers = with pkgs; [epson-escpr epson-escpr2 hplip];
- };
- avahi = {
- enable = true;
- nssmdns4 = true;
- nssmdns6 = true;
- openFirewall = true;
- };
- };
-
- hardware.printers = {
- ensureDefaultPrinter = "EPSON_ET-2720_Series";
- ensurePrinters = [
- {
- name = "EPSON_ET-2720_Series";
- description = "EPSON ET-2720 Series";
- model = "epson-inkjet-printer-escpr/Epson-ET-2720_Series-epson-escpr-en.ppd";
- location = "Home Network";
- deviceUri = "dnssd://EPSON%20ET-2720%20Series._ipp._tcp.local/?uuid=cfe92100-67c4-11d4-a45f-e0bb9edcdbb9";
- ppdOptions = {
- PageSize = "A4";
- };
- }
- ];
- };
- };
-}