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

14 lines
324 B
Nix
Raw Normal View History

{ desktop, lib, pkgs, ... }: {
environment.systemPackages = with pkgs; [ ] ++ lib.optionals (desktop != null) [
gnome.simple-scan
];
hardware = {
sane = {
enable = true;
#extraBackends = with pkgs; [ hplipWithPlugin sane-airscan ];
extraBackends = with pkgs; [ sane-airscan ];
};
};
}