diff options
author | ene <ene@sils.li> | 2023-03-17 17:42:23 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-17 17:42:23 +0100 |
commit | 8978453ef0492c833d42599c758d25f8ed5afde0 (patch) | |
tree | e0652bf94479213be1a89945f9aa3d7eee1f9a45 /system/services/printing | |
parent | Fix(hm/conf/lf): Update to new shell lib version (diff) | |
download | nixos-config-8978453ef0492c833d42599c758d25f8ed5afde0.zip |
Fix(system): Move services to system
Diffstat (limited to 'system/services/printing')
-rw-r--r-- | system/services/printing/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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]; + }; +} |