about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-17 21:34:49 +0200
committerSoispha <soispha@vhack.eu>2023-05-17 22:14:36 +0200
commit562e3c6522fea77c158e3c139709775e1463ea12 (patch)
tree9b5bd2471ec1d3042bf978268f4397c3f4652237 /system
parentFix(system/services/snapper): Use new option layout (diff)
downloadnixos-config-562e3c6522fea77c158e3c139709775e1463ea12.zip
Fix(sytem/services/printing): Make scanners work
Diffstat (limited to 'system')
-rw-r--r--system/services/printing/default.nix1
-rw-r--r--system/users/default.nix1
2 files changed, 1 insertions, 1 deletions
diff --git a/system/services/printing/default.nix b/system/services/printing/default.nix
index 1d4e58af..e4faed54 100644
--- a/system/services/printing/default.nix
+++ b/system/services/printing/default.nix
@@ -14,7 +14,6 @@
   };
   hardware = {
     sane = {
-      # TODO this won't work like this
       enable = true;
       extraBackends = [pkgs.sane-airscan];
     };
diff --git a/system/users/default.nix b/system/users/default.nix
index 80b3fca7..c5a36498 100644
--- a/system/users/default.nix
+++ b/system/users/default.nix
@@ -36,6 +36,7 @@ in {
           "wheel"
           "networkmanager" # if I activate network-manager, this will help
           "libvirtd" # needed to run libvirt stuff as this user
+          "scanner" # needed for permission to access the scanner
         ];
         uid = 1000;
         openssh.authorizedKeys.keys = [