Add groups for users

This commit is contained in:
Artemis Tosini 2021-09-18 17:09:49 +00:00
parent 969a637c8b
commit 54c42ebdd7
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 4 additions and 0 deletions

View file

@ -7,9 +7,11 @@
home = "/home/build";
createHome = true;
useDefaultShell = true;
group = "build";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFOBdARV3DVx4fKTf1hCSmOz+S06pI28cvrdo+FbWDP/ root@rainbowdash"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIElCYORRBERl/as01Obp1Og/mdy28V7gw32uCZseOSZt root@spike"
];
};
users.groups.build = {};
}

View file

@ -32,6 +32,7 @@
isSystemUser = true;
subUidRanges = [{ startUid = 16777216; count = 16777216; } { startUid = config.users.users.artemis.uid; count = 1; }];
subGidRanges = [{ startGid = 16777216; count = 16777216; } { startGid = 100; count = 1; } { startGid = config.users.groups.artemis.gid; count = 1; }];
group = "lxd";
};
};
}

View file

@ -53,6 +53,7 @@
users.users.skye = {
isSystemUser = true;
uid = 1001;
group = "users";
};
# Packages