From 3afeb9eab0f5cb6bc7b18645638683df00c031cf Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sat, 5 Mar 2022 23:34:22 +0100 Subject: [PATCH] [Service] Add scanner support --- services.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/services.nix b/services.nix index 821dbb2..b1d3a99 100644 --- a/services.nix +++ b/services.nix @@ -70,6 +70,15 @@ in { ]; webInterface = mkDefault false; }; + + hardware.sane = mkIf desktopCfg.enable { + enable = true; + netConf = "192.168.0.0/24"; + extraBackends = with pkgs; [ + hplipWithPlugin + ]; + }; + aviallon.programs.allowUnfreeList = [ "hplip" "hplipWithPlugin" ]; services.fwupd.enable = true;