summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hm/packages/default.nix2
-rw-r--r--sys/services/printing/default.nix7
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;