mio-ops/clusters/pi3B_rack.nix

33 lines
799 B
Nix
Raw Normal View History

2019-12-09 06:17:21 +00:00
# NixOps configuration for the Raspberry Pi 3B Rack
{
imports =
[
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
../Hardware/raspberry_pi_3_model_B.nix
../Deployments/host_common.nix
../Deployments/pi_common.nix
];
# Ensure the right package architecture is used
nixpkgs.localSystem = {
system = "aarch64-linux";
config = "aarch64-unknown-linux-gnu";
allowUnfree = true;
};
networking.wireless.enable = false; # Toggles wireless support via wpa_supplicant.
documentation = {
nixos.enable = false; # Save some space by disabling the manual
};
users.users.root = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFq6/C6ZSM8nS091fqw/om9LRszHDmS82ZTL7+GaSBnz craige@pi-tri"
];
};
}