infra/hosts/darwin02/configuration.nix

29 lines
929 B
Nix
Raw Normal View History

2023-07-17 13:53:06 +10:00
{ inputs, ... }:
2023-05-16 18:58:13 +10:00
2023-07-17 13:53:06 +10:00
{
imports = [
inputs.self.darwinModules.common
inputs.self.darwinModules.builder
inputs.self.darwinModules.hercules-ci
];
2023-05-16 18:58:13 +10:00
nix.settings.sandbox = "relaxed";
nix.settings.extra-platforms = [ "x86_64-darwin" ];
2023-06-11 12:53:38 +10:00
# disable nixos-tests
nix.settings.system-features = [ "big-parallel" ];
2023-05-16 18:58:13 +10:00
networking.hostName = "darwin02";
system.stateVersion = 4;
# TODO: refactor this to share /users with nixos
# keys are copied, not symlinked
users.users.m1.openssh.authorizedKeys.keys = [
2023-06-03 18:53:46 +10:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOG/9rsFqC2tg+W5YZxthW5xhUJEfZ8ShqkRtVe+A6+u" # hercules-ssh-deploy
2023-05-16 18:58:13 +10:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbBp2dH2X3dcU1zh+xW3ZsdYROKpJd3n13ssOP092qE" # mic92
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuiDoBOxgyer8vGcfAIbE6TC4n4jo8lhG9l01iJ0bZz" # zimbatm
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFbCYwWByGE46XHH4Q0vZgQ5sOUgbH50M8KO2xhBC4m/" # zowoq
];
}