[raspberry] add base image
i currently try building it and then check if it works
This commit is contained in:
@@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user