nix: set up remote builds

This commit is contained in:
Daniel Lundin 2024-08-09 19:17:04 +02:00
parent 605e75220a
commit 698fab3921
No known key found for this signature in database

View file

@ -188,5 +188,22 @@
]; ];
}; };
users.users.nixremote = {
name = "nixremote";
isSystemUser = true;
shell = pkgs.bashInteractive;
group = "nixremote";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEJjhHem/l3p/79Rqo3Wtk9ksxmt7Q/pkRdnXiNzP4Cf"
];
};
users.groups.nixremote = { };
nix.settings.trusted-users = [
"dln"
"lsjostro"
"nixremote"
];
system.stateVersion = "24.05"; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "24.05"; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
} }