feat: enable sane + brscan5 for scanning

This commit is contained in:
teutat3s 2024-01-25 19:21:12 +01:00
parent e0c5520175
commit f3a31ed523
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 7 additions and 0 deletions

View file

@ -8,6 +8,8 @@
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"1password"
"1password-cli"
"brscan5"
"brscan5-etc-files"
"facetimehd-firmware"
"slack"
"veracrypt"

View file

@ -23,6 +23,11 @@ in {
pkgs.gutenprint
];
hardware.sane = {
enable = true;
brscan5.enable = true;
};
users.users."${psCfg.user.name}" = {
extraGroups = ["lp" "scanner"];
};