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