commit | f960499baa1acc0af704014678b4f567688158e8 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Mon Oct 17 15:51:46 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Mon Oct 31 00:25:06 2022 +0000 |
tree | b6e1ae615f302f90958a63314862984f105080c5 | |
parent | ec485c2a7b727c9893fc1caee9915e7688a11879 [diff] |
Enable scanner support
diff --git a/modules/scanning.nix b/modules/scanning.nix new file mode 100644 index 0000000..ed3cbbf --- /dev/null +++ b/modules/scanning.nix
@@ -0,0 +1,6 @@ +{username, ...}: { + config = { + hardware.sane.enable = true; + users.users.${username}.extraGroups = [ "scanner" "lp" ]; + }; +}