nix-config/nixos/_mixins/services/sane.nix
2024-05-23 15:02:20 -04:00

11 lines
295 B
Nix

{ desktop, lib, pkgs, ... }: {
imports = lib.optional (builtins.isString desktop) ../desktop/simple-scan.nix;
hardware = {
sane = {
enable = true;
#extraBackends = with pkgs; [ hplipWithPlugin sane-airscan ];
extraBackends = with pkgs; [ sane-airscan ];
};
};
}