Add payas and hledger users to same group

This commit is contained in:
Payas Relekar 2023-07-02 10:07:09 +05:30
parent a544c4b744
commit a2f3ae9cde
3 changed files with 4 additions and 2 deletions

View file

@ -77,7 +77,7 @@ in
"${user}" = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" ];
extraGroups = [ "wheel" "docker" "fin" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLfc2MW5f4Qn1ifAjPPSTRjDST9Bpwn4M8pWvtYrlnY nixos@wsl@hermes"
];

View file

@ -40,6 +40,8 @@
};
};
users.users.hledger.extraGroups = [ "fin" ];
security.acme = {
acceptTerms = true;
certs = {

View file

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