forked from hswaw/hscloud
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
# Aarch64 builder in Oracle Cloud, managed by q3k. Add your keys/users to have
|
|
# access to this machine. An Aarch64 remote builder is required when
|
|
# crosscompiling for aarch64.
|
|
|
|
{ pkgs, ... }: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
boot.cleanTmpDir = true;
|
|
zramSwap.enable = true;
|
|
networking.hostName = "larrythebuilder";
|
|
networking.domain = "q3k.org";
|
|
environment.systemPackages = with pkgs; [
|
|
vim rxvt-unicode-unwrapped.terminfo
|
|
];
|
|
services.openssh.enable = true;
|
|
users.users.q3k = {
|
|
isNormalUser = true;
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG599UildOrAq+LIOQjKqtGMwjgjIxozI1jtQQRKHtCP q3k@mimeomia"
|
|
];
|
|
};
|
|
|
|
users.users.informatic = {
|
|
isNormalUser = true;
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDoKB2p/gFaKthQNXeQvSLzhOlLSq3vjVL3AEOBTMXGH informatic@atuin"
|
|
];
|
|
};
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG599UildOrAq+LIOQjKqtGMwjgjIxozI1jtQQRKHtCP q3k@mimeomia"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDoKB2p/gFaKthQNXeQvSLzhOlLSq3vjVL3AEOBTMXGH informatic@atuin"
|
|
];
|
|
}
|