nix-config/nixos/_mixins/services/sane.nix
Gregory Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

14 lines
324 B
Nix

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