From 8978453ef0492c833d42599c758d25f8ed5afde0 Mon Sep 17 00:00:00 2001 From: ene Date: Fri, 17 Mar 2023 17:42:23 +0100 Subject: Fix(system): Move services to system --- system/services/printing/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 system/services/printing/default.nix (limited to 'system/services/printing/default.nix') diff --git a/system/services/printing/default.nix b/system/services/printing/default.nix new file mode 100644 index 00000000..3b193eab --- /dev/null +++ b/system/services/printing/default.nix @@ -0,0 +1,19 @@ +# vim: ts=2 +{ + config, + pkgs, + ... +}: { + services.printing = { + enable = true; + webInterface = false; # don't enable the webinterface + drivers = with pkgs; [ + gutenprint + ]; + }; + hardware.sane = { + # TODO this properly won't work like this + enable = true; + extraBackends = [pkgs.sane-airscan]; + }; +} -- cgit 1.4.1