From 5cfb967412818930c13fdda416805e94c2f971e5 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 2 Dec 2020 23:48:13 +0000 Subject: [PATCH] Move printing to separate set --- configuration.nix | 6 ------ sets/printing.nix | 10 ++++++++++ system/starlight/default.nix | 1 + 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 sets/printing.nix diff --git a/configuration.nix b/configuration.nix index 3ba49c6..9554d6c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -55,12 +55,6 @@ udev.packages = [ (pkgs.callPackage ./externals/rules/uhk.nix { }) ]; - printing = { - enable = true; - drivers = [ - (pkgs.pkgsi686Linux.callPackage ./externals/packages/hll2300d { }) - ]; - }; }; hardware = { diff --git a/sets/printing.nix b/sets/printing.nix new file mode 100644 index 0000000..55b6a23 --- /dev/null +++ b/sets/printing.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: + +{ + services.printing = { + enable = true; + drivers = [ + (pkgs.pkgsi686Linux.callPackage ../externals/packages/hll2300d { }) + ]; + }; +} diff --git a/system/starlight/default.nix b/system/starlight/default.nix index d73267e..4c8e939 100644 --- a/system/starlight/default.nix +++ b/system/starlight/default.nix @@ -12,6 +12,7 @@ ../../sets/hacking.nix ../../sets/hardware.nix ../../sets/neovim + ../../sets/printing.nix ../../sets/ssh.nix ../../sets/sway.nix ../../sets/virtualization.nix