From 079f8a58c15d3317a9ef76e7858eb12c0d22a368 Mon Sep 17 00:00:00 2001 From: workflow <4farlion@gmail.com> Date: Tue, 20 Aug 2024 23:27:33 +0100 Subject: [PATCH] refac(printing): move from system defaults --- system/default.nix | 6 ------ system/printing.nix | 6 +++++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/system/default.nix b/system/default.nix index b96dc0a..a51d349 100644 --- a/system/default.nix +++ b/system/default.nix @@ -45,12 +45,6 @@ services.hardware.bolt.enable = true; - services.printing.enable = true; - services.printing.drivers = [ - pkgs.gutenprint - pkgs.hplip - ]; - # limit the amount of logs stored in /var/log/journal # writes to /etc/systemd/journald.conf services.journald.extraConfig = '' diff --git a/system/printing.nix b/system/printing.nix index ca1b62c..0ee7faa 100644 --- a/system/printing.nix +++ b/system/printing.nix @@ -1,5 +1,9 @@ -{...}: { +{pkgs, ...}: { services.printing.enable = true; + services.printing.drivers = [ + pkgs.gutenprint + pkgs.hplip + ]; services.avahi = { enable = true;