From 908c6adf5a459c7de68435e00a18d5d461eaf023 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Thu, 21 Jul 2022 00:43:29 +0200 Subject: [PATCH] Enable scanners --- nixos/localcfg.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/nixos/localcfg.nix b/nixos/localcfg.nix index eada7ba..073b022 100644 --- a/nixos/localcfg.nix +++ b/nixos/localcfg.nix @@ -59,7 +59,18 @@ uid = 1000; isNormalUser = true; home = "/home/traxys"; - extraGroups = ["wheel" "networkmanager" "adbusers"]; + extraGroups = [ + "wheel" + "networkmanager" + "adbusers" + "libvirtd" + "kvm" + "qemu-libvirtd" + "docker" + "http" + "scanner" + "lp" + ]; shell = pkgs.zsh; }; localtimed = { @@ -77,6 +88,7 @@ enable = true; drivers = [pkgs.hplip pkgs.gutenprint pkgs.cnijfilter2]; }; + hardware.sane.enable = true; services.avahi = { nssmdns = true; enable = true;