forked from kalipso/infrastructure
[lucia] rm sdImage
sdImage is exceeding hydra max build size of 2GB. also it makes more sense to have this as a package then a configuration
This commit is contained in:
@@ -74,16 +74,4 @@ in
|
|||||||
./lucia/hardware_configuration.nix
|
./lucia/hardware_configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
sdImageLucia = nixosSystem {
|
|
||||||
system = "aarch64-linux";
|
|
||||||
specialArgs.inputs = inputs;
|
|
||||||
modules = defaultModules ++ [
|
|
||||||
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
|
||||||
./lucia/configuration.nix
|
|
||||||
{
|
|
||||||
sdImage.compressImage = false;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
22
outputs.nix
22
outputs.nix
@@ -36,26 +36,4 @@ in (utils.lib.eachSystem (builtins.filter filter_system utils.lib.defaultSystems
|
|||||||
nixpkgs.lib.mapAttrs getBuildEntry self.nixosConfigurations
|
nixpkgs.lib.mapAttrs getBuildEntry self.nixosConfigurations
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
#lucia = self.nixosConfigurations.lucia.config.system.build.toplevel;
|
|
||||||
|
|
||||||
|
|
||||||
#images.lucia_base_image = nixosConfigurations.lucia.config.system.build.sdImage;
|
|
||||||
|
|
||||||
#packages.x86_64-linux = {
|
|
||||||
# lucia_base_img = nixos-generators.nixosGenerate {
|
|
||||||
# system = "aarch64-linux";
|
|
||||||
# modules = [
|
|
||||||
# #"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix"
|
|
||||||
# ./machines/modules/sshd.nix
|
|
||||||
# {
|
|
||||||
# nixpkgs.config.allowUnsupportedSystem = true;
|
|
||||||
# nixpkgs.crossSystem.system = "aarch64-linux";
|
|
||||||
# networking.dhcpcd.enable = true;
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
|
|
||||||
# format = "sd-aarch64-installer";
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user