diff options
author | Silas Schöffel <sils@sils.li> | 2024-12-29 23:07:07 +0100 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-12-29 23:07:07 +0100 |
commit | e6f1ec5d1102c096bd1c03cf7fef3a59faee2dab (patch) | |
tree | 84f68e7a2a3026cb470bbc1ac0f229329420ff48 | |
parent | flake.lock: update (diff) | |
download | nix-config-e6f1ec5d1102c096bd1c03cf7fef3a59faee2dab.zip |
printing: specify drivers in correct location
-rw-r--r-- | hm/packages/default.nix | 2 | ||||
-rw-r--r-- | sys/services/printing/default.nix | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/hm/packages/default.nix b/hm/packages/default.nix index 225d2e2..42c241d 100644 --- a/hm/packages/default.nix +++ b/hm/packages/default.nix @@ -133,8 +133,6 @@ in { okular # pdf viewer - epson-escpr # epson printing driver - # windowmanager nwg-panel brightnessctl # control brightness diff --git a/sys/services/printing/default.nix b/sys/services/printing/default.nix index 2bdcf7a..442265f 100644 --- a/sys/services/printing/default.nix +++ b/sys/services/printing/default.nix @@ -1,6 +1,9 @@ -{...}: { +{pkgs, ...}: { services = { - printing.enable = true; + printing = { + enable = true; + drivers = with pkgs; [epson-escpr]; + }; avahi = { enable = true; openFirewall = true; |