feat(system): add printer and scanner support by default
This commit is contained in:
parent
bf2392c65b
commit
a4e3511154
@ -60,13 +60,19 @@ 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 = {
|
||||
git = {
|
||||
|
Loading…
Reference in New Issue
Block a user