feat(servivi): add nixremote user for remote builds
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
7963706517
commit
d1d3f4fd17
2 changed files with 26 additions and 12 deletions
|
@ -34,7 +34,7 @@
|
|||
warn-dirty = false;
|
||||
|
||||
# remote building
|
||||
trusted-users = ["matt"];
|
||||
trusted-users = ["matt" "nixremote"];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
hostName = "servivi";
|
||||
};
|
||||
|
||||
users.users.${config.vars.user} = {
|
||||
users.users = {
|
||||
${config.vars.user} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
|
@ -29,6 +30,19 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJGbLu+Gb7PiyNgNXMHemaQLnKixebx1/4cdJGna9OQp matt@wim"
|
||||
];
|
||||
};
|
||||
|
||||
nixremote = {
|
||||
isNormalUser = true;
|
||||
createHome = true;
|
||||
home = "/var/lib/nixremote";
|
||||
homeMode = "500";
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGOujvC5JLnyjqD1bzl/H0256Gxw/biu7spIHy3YJiDL root@oksys"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.${config.vars.user} = {
|
||||
imports = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue