about summary refs log tree commit diff stats
path: root/system/services/scanning/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-20 07:48:51 +0200
committerSoispha <soispha@vhack.eu>2023-05-20 08:02:03 +0200
commitc84419cb781ea162c814455351faf6a6558e7a81 (patch)
treea493044c9d87f8d9d1499af0cb521a8f20df7773 /system/services/scanning/default.nix
parentRefactor(system/services/printing): Split printing and scanning (diff)
downloadnixos-config-c84419cb781ea162c814455351faf6a6558e7a81.tar.gz
nixos-config-c84419cb781ea162c814455351faf6a6558e7a81.zip
Refactor(system/users): Add the groups in the file, giving context
Diffstat (limited to '')
-rw-r--r--system/services/scanning/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/services/scanning/default.nix b/system/services/scanning/default.nix
index b132e915..27e7ccbb 100644
--- a/system/services/scanning/default.nix
+++ b/system/services/scanning/default.nix
@@ -6,4 +6,8 @@
       extraBackends = [pkgs.sane-airscan];
     };
   };
+
+  users.users.soispha.extraGroups = [
+    "scanner" # for permission to access the scanner.
+  ];
 }