forked from pub-solar/os
caddy: add to hakkonaut group
Add public SSH key to hakkonaut user
This commit is contained in:
parent
0e3b602809
commit
997561f817
|
@ -7,6 +7,7 @@
|
|||
}: {
|
||||
services.caddy = {
|
||||
enable = lib.mkForce true;
|
||||
group = "hakkonaut";
|
||||
email = "admins@pub.solar";
|
||||
globalConfig = lib.mkForce "";
|
||||
virtualHosts = {
|
||||
|
|
|
@ -55,13 +55,17 @@ in {
|
|||
}
|
||||
];
|
||||
|
||||
# Machine user for CI pipelines
|
||||
users.users.hakkonaut = {
|
||||
description = "CI and automation user";
|
||||
home = "/var/nix/iso-cache";
|
||||
useDefaultShell = true;
|
||||
uid = 995;
|
||||
uid = 998;
|
||||
group = "hakkonaut";
|
||||
isSystemUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGP5MvCwNRtCcP1pSDrn0XZTNlpOqYnjHDm9/OI4hECW hakkonaut@flora-6"
|
||||
];
|
||||
};
|
||||
|
||||
users.groups.hakkonaut = {};
|
||||
|
|
Loading…
Reference in a new issue