users: Add payas to dialout and tty groups

Because esphome requires them for writing out to serial connection
This commit is contained in:
Payas Relekar 2023-12-23 22:44:39 +05:30
parent 4ce48e7620
commit c99666fb86

View file

@ -9,7 +9,7 @@ in
{
users.payas = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "adbusers" "docker" "libvirtd" ];
extraGroups = [ "wheel" "networkmanager" "adbusers" "docker" "libvirtd" "dialout" "tty" ];
home = "/home/${payas}";
description = payas;
group = "payas";