caramel: include module overlay for non-image
This commit is contained in:
parent
56312d4667
commit
2fb0b9c3e9
1 changed files with 8 additions and 10 deletions
18
flake.nix
18
flake.nix
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue