prepared remotebuild host.nix
This commit is contained in:
parent
c15722eec0
commit
d0c81d2eff
1 changed files with 17 additions and 0 deletions
17
modules/remotebuild/host.nix
Normal file
17
modules/remotebuild/host.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
users.users.nixremote = {
|
||||||
|
isSystemUser = true;
|
||||||
|
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICXfYm0PWG8/SO7s9OJrAHxV2PFcvAyVZjFfvN/7Vkw0 nixremote" ];
|
||||||
|
uid = 500;
|
||||||
|
group = "nixremote";
|
||||||
|
#hashedPassword = "$6$VlNqS5D2uxmzs$AXEEg63iQ5bMQDtU9.Cy4cd/UfQCHk9QNo2RuQmucNz6Y4Z2l0qM5lvr6KFcEdJi6vO7mYd761LrVrQ8J7nPw1";
|
||||||
|
};
|
||||||
|
|
||||||
|
users.groups.nixremote.gid = 500;
|
||||||
|
|
||||||
|
nix.settings.trusted-users = [ "nixremote" ];
|
||||||
|
|
||||||
|
}
|
||||||
|
# vim: set et ts=2 sw=2 ai:
|
||||||
Loading…
Add table
Reference in a new issue