machines/stellio: shim removed image.repart.enable option
matthew-hardware's common/generic-uefi-image.nix still sets image.repart.enable = true; nixpkgs removed that option (importing image/repart.nix now always defines system.build.image). Declare it so the definition has somewhere to land. Drop once upstream stops setting it. Cross build verified end to end (toplevel + system.build.image).
This commit is contained in:
@@ -2,20 +2,30 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.matthew-hardware.nixosModules.mt7986a-glinet-gl-mt6000
|
inputs.matthew-hardware.nixosModules.mt7986a-glinet-gl-mt6000
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.mt7986a-glinet-gl-mt6000.enable = true;
|
# matthew-hardware's common/generic-uefi-image.nix still sets
|
||||||
hardware.mt7986a-glinet-gl-mt6000.zealous = true;
|
# `image.repart.enable = true`; nixpkgs removed that option (importing
|
||||||
hardware.mt7986a-glinet-gl-mt6000.image.repart.enable = true;
|
# image/repart.nix now always defines system.build.image). Declare it so the
|
||||||
|
# definition has somewhere to land. Drop once upstream stops setting it.
|
||||||
|
options.image.repart.enable = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
internal = true;
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
config = {
|
||||||
nixpkgs.buildPlatform.system = "x86_64-linux";
|
hardware.mt7986a-glinet-gl-mt6000.enable = true;
|
||||||
|
hardware.mt7986a-glinet-gl-mt6000.zealous = true;
|
||||||
|
hardware.mt7986a-glinet-gl-mt6000.image.repart.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "26.11";
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||||
clan.core.sops.defaultGroups = [ "admins" ];
|
nixpkgs.buildPlatform.system = "x86_64-linux";
|
||||||
|
|
||||||
clan.core.settings.name = "stellio";
|
system.stateVersion = "26.11";
|
||||||
clan.core.settings.machine.description = "Flint-2 router";
|
clan.core.sops.defaultGroups = [ "admins" ];
|
||||||
|
|
||||||
|
clan.core.settings.name = "stellio";
|
||||||
|
clan.core.settings.machine.description = "Flint-2 router";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user