caramel: include module overlay for non-image

This commit is contained in:
LavaDesu 2022-08-09 22:23:23 +07:00
parent 56312d4667
commit 2fb0b9c3e9
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -89,7 +89,13 @@
{ {
nixosConfigurations."blossom" = mkSystem nixpkgs "blossom" "x86_64-linux" true []; nixosConfigurations."blossom" = mkSystem nixpkgs "blossom" "x86_64-linux" true [];
nixosConfigurations."caramel" = mkSystem nixpkgs-porcupine "caramel" "aarch64-linux" false []; nixosConfigurations."caramel" = mkSystem nixpkgs-porcupine "caramel" "aarch64-linux" false [{
nixpkgs.overlays = [
(self: super: {
makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
})
];
}];
nixosConfigurations."sugarcane" = mkSystem nixpkgs-porcupine "sugarcane" "x86_64-linux" false []; nixosConfigurations."sugarcane" = mkSystem nixpkgs-porcupine "sugarcane" "x86_64-linux" false [];
packages."x86_64-linux" = packages."x86_64-linux" =
@ -111,19 +117,11 @@
]; ];
system = "aarch64-linux"; system = "aarch64-linux";
}; };
caramel-sys = mkSystem nixpkgs-porcupine "caramel" "aarch64-linux" false [{
nixpkgs.overlays = [
(self: super: {
makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
})
];
}];
in in
{ {
inherit (pkgs) nixUnstable; inherit (pkgs) nixUnstable;
caramel-iso2 = caramel-sys.config.system.build.sdImage; caramel-iso2 = self.nixosConfigurations."caramel".config.system.build.sdImage;
caramel-iso = nixos-generators.nixosGenerate { caramel-iso = nixos-generators.nixosGenerate {
inherit pkgs; inherit pkgs;
format = "sd-aarch64"; format = "sd-aarch64";