enable sane for scanning

This commit is contained in:
Daylin Morgan 2024-08-06 12:38:20 -05:00
parent 79984d5ddc
commit a329763cba
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,12 +1,17 @@
{ pkgs, enabled, ... }: { pkgs, enabled, ... }:
{ {
networking.networkmanager = enabled; networking.networkmanager = enabled;
services.printing = enabled;
services.fwupd = enabled; services.fwupd = enabled;
hardware.bluetooth = enabled // { hardware.bluetooth = enabled // {
powerOnBoot = true; powerOnBoot = true;
}; };
services.printing = enabled;
hardware.sane = enabled // {
extraBackends = [ pkgs.hplipWithPlugin ];
};
users.users.daylin.extraGroups = ["scanner" "lp"];
# https://github.com/NixOS/nixos-hardware/blob/c478b3d56969006e015e55aaece4931f3600c1b2/lenovo/thinkpad/x1/9th-gen/default.nix # https://github.com/NixOS/nixos-hardware/blob/c478b3d56969006e015e55aaece4931f3600c1b2/lenovo/thinkpad/x1/9th-gen/default.nix
# https://github.com/NixOS/nixos-hardware/blob/c478b3d56969006e015e55aaece4931f3600c1b2/common/pc/ssd/default.nix # https://github.com/NixOS/nixos-hardware/blob/c478b3d56969006e015e55aaece4931f3600c1b2/common/pc/ssd/default.nix
services.fstrim = enabled; services.fstrim = enabled;