[raspberry] add base image

i currently try building it and then check if it works
This commit is contained in:
2022-11-08 19:16:43 +01:00
parent e27351d1c3
commit b34e473865
3 changed files with 36 additions and 1 deletions

View File

@@ -36,4 +36,21 @@ in
./moderatio/configuration.nix
];
};
rpi1_base_image = nixosSystem {
system = "aarch64-linux";
modules = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix"
./modules/sshd.nix
{
nixpkgs.config.allowUnsupportedSystem = true;
nixpkgs.crossSystem.system = "aarch64-linux";
networking.hostName = "rp1_base_image";
networking.networkmanager.enable = true;
system.stateVersion = "22.05";
}
];
};
}