diff --git a/system/common.nix b/system/common.nix index cf7c5ac..a62d1b9 100644 --- a/system/common.nix +++ b/system/common.nix @@ -60,12 +60,18 @@ in users.users.andrey = { isNormalUser = true; initialHashedPassword = "$y$j9T$mGZT4otEkrc94e.Ile.P20$BoxfgxCiacs.tYoEp7S5AjcP.aMUBrsaCJYJkBot635"; - extraGroups = [ "wheel" "cdrom" "networkmanager" "audio" "dialout" ]; + extraGroups = [ "wheel" "cdrom" "networkmanager" "audio" "dialout" "scanner" "lp" ]; }; security.sudo.execWheelOnly = true; security.sudo.wheelNeedsPassword = false; + + # Printers and scanners + hardware.sane.enable = true; + services.printing.enable = true; + services.printing.drivers = [ pkgs.cnijfilter2 ]; + programs.system-config-printer.enable = true; # Programs programs = {