c99666fb86
Because esphome requires them for writing out to serial connection
27 lines
572 B
Nix
27 lines
572 B
Nix
{ config, pkgs, ... }:
|
||
|
||
let
|
||
payas = "payas";
|
||
in
|
||
{
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users =
|
||
{
|
||
users.payas = {
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" "networkmanager" "adbusers" "docker" "libvirtd" "dialout" "tty" ];
|
||
home = "/home/${payas}";
|
||
description = payas;
|
||
group = "payas";
|
||
};
|
||
|
||
groups = {
|
||
input.members = [ payas ];
|
||
payas = {
|
||
name = "payas";
|
||
members = [ "payas" ];
|
||
gid = 1666;
|
||
};
|
||
};
|
||
};
|
||
}
|