[Service] Add scanner support

This commit is contained in:
Antoine Viallon 2022-03-05 23:34:22 +01:00
parent fb7a18db3e
commit 3afeb9eab0
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -70,6 +70,15 @@ in {
]; ];
webInterface = mkDefault false; 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" ]; aviallon.programs.allowUnfreeList = [ "hplip" "hplipWithPlugin" ];
services.fwupd.enable = true; services.fwupd.enable = true;