nix-config/nixos/_mixins/services/sane.nix

12 lines
295 B
Nix
Raw Permalink Normal View History

{ 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 ];
};
};
}