Try rawdogging sdImage and see if it breaks nixos-rebuild switch
This commit is contained in:
parent
a92d980a18
commit
c281bd071a
1 changed files with 7 additions and 12 deletions
|
|
@ -60,16 +60,11 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkMerge[
|
config = lib.mkIf config.boot.loader.petitboot.enable {
|
||||||
(lib.mkIf config.boot.loader.petitboot.enable {
|
system.build.installBootLoader = lib.mkForce "${installer} ${args} -c";
|
||||||
system.build.installBootLoader = lib.mkForce "${installer} ${args} -c";
|
system.boot.loader.id = "petitboot";
|
||||||
system.boot.loader.id = "petitboot";
|
sdImage.populateRootCommands = lib.mkForce ''
|
||||||
})
|
${sdImageInstaller} ${args} -c ${config.system.build.toplevel} -d ./files/kboot.conf
|
||||||
|
'';
|
||||||
(lib.mkIf (config.boot.loader.petitboot.enable && options ? sdImage) {
|
};
|
||||||
sdImage.populateRootCommands = lib.mkForce ''
|
|
||||||
${sdImageInstaller} ${args} -c ${config.system.build.toplevel} -d ./files/kboot.conf
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue