Browse Source

remote builders

main
Dustin Frisch 11 months ago
parent
commit
3865b5489c
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 8
      flake.lock
  2. 12
      machines/manager/builder.nix
  3. 1
      machines/manager/default.nix
  4. 14
      machines/node/builder.nix
  5. 1
      machines/node/default.nix

8
flake.lock

@ -207,11 +207,11 @@
"ldap-sync": {
"flake": false,
"locked": {
"lastModified": 1688052624,
"narHash": "sha256-tQ0C/0zMgOYTSxzIy9koED4jzGNZygknrsC9Q6RtaJE=",
"lastModified": 1704504213,
"narHash": "sha256-4Ocmxlx3oXVx9yKEYRlQFkeYI5MF8JoBtQtBJyggYLc=",
"ref": "refs/heads/main",
"rev": "69ce1d4f1a41ee313f5cb484a0bfecad9a545694",
"revCount": 11,
"rev": "363cb3f06378eb2de7571dc9048dded01cf11950",
"revCount": 12,
"type": "git",
"url": "https://gogs.informatik.hs-fulda.de/fooker/ldap-sync.git"
},

12
machines/manager/builder.nix

@ -0,0 +1,12 @@
{ pkgs, lib, ... }:
with lib;
{
users.users."root" = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8PSp2KXizMadFQIeoTuedi+xWUnWgAoz0J6dDDcrad"
];
};
}

1
machines/manager/default.nix

@ -23,6 +23,7 @@ with lib;
./slurm.nix
./docs.nix
./monitoring.nix
./builder.nix
];
deployment = {

14
machines/node/builder.nix

@ -0,0 +1,14 @@
{ pkgs, lib, ... }:
with lib;
{
boot.binfmt.emulatedSystems = [ "aarch64-linux" "armv7l-linux" ];
users.users."root" = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC8PSp2KXizMadFQIeoTuedi+xWUnWgAoz0J6dDDcrad"
];
};
}

1
machines/node/default.nix

@ -10,6 +10,7 @@ with lib;
./network.nix
./users.nix
./slurm.nix
./builder.nix
];
_module.args = {

Loading…
Cancel
Save