32 lines
643 B
Nix
32 lines
643 B
Nix
{ modulesPath, ... }:
|
|
|
|
{
|
|
imports = [ "${modulesPath}/installer/sd-card/sd-image-aarch64.nix" ];
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
networking.hostName = "noisebridge-pi";
|
|
|
|
networking.wireless = {
|
|
enable = true;
|
|
networks = {
|
|
"Noisebridge" = {
|
|
psk = "noisebridge";
|
|
};
|
|
};
|
|
};
|
|
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
publish = {
|
|
enable = true;
|
|
addresses = true;
|
|
};
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE40ISu3ydCqfdpb26JYD5cIN0Fu0id/FDS+xjB5zpqu"
|
|
];
|
|
}
|