2023-07-25 07:32:19 +00:00
|
|
|
{pkgs, ... }:
|
2023-05-07 02:04:36 +00:00
|
|
|
{
|
2023-07-25 07:32:19 +00:00
|
|
|
boot.loader.raspberryPi = {
|
|
|
|
version = 3;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.initrd.kernelModules = [ "vc4" "bcm2835_dma" "i2c_bcm2835" ];
|
|
|
|
|
|
|
|
networking.hostName = "orange";
|
|
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
|
|
|
|
users.users.root = {
|
2023-05-07 02:04:36 +00:00
|
|
|
openssh.authorizedKeys.keyFiles = [
|
|
|
|
./authorized_keys
|
|
|
|
];
|
|
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
|
|
}
|
|
|
|
|