forked from kalipso/infrastructure
[lucia] remove old approach and build baseimg using nixos-generators
This commit is contained in:
@@ -37,20 +37,11 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
rpi1_base_image = nixosSystem {
|
||||
lucia = nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
specialArgs.inputs = inputs;
|
||||
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";
|
||||
}
|
||||
./lucia/configuration.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user