Close to building
This commit is contained in:
parent
1925047388
commit
c4c9013941
3 changed files with 14 additions and 8 deletions
|
@ -18,8 +18,5 @@
|
||||||
|
|
||||||
boot.initrd.allowMissingModules = true;
|
boot.initrd.allowMissingModules = true;
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs.config.allowBroken = true;
|
||||||
hostPlatform = "aarch64-linux";
|
|
||||||
config.allowBroken = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,18 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: Fix:
|
||||||
|
# error: builder for '/nix/store/4pbzqss4j7xpbj742zjbhrbl5azdgfnl-image.drv' failed with exit code 1;
|
||||||
|
# last 7 log lines:
|
||||||
|
# > structuredAttrs is enabled
|
||||||
|
# > Running phase: patchPhase
|
||||||
|
# > 'repart.d' -> '/build/amended-repart.d'
|
||||||
|
# > Running phase: updateAutotoolsGnuConfigScriptsPhase
|
||||||
|
# > Running phase: buildPhase
|
||||||
|
# > Building image with systemd-repart...
|
||||||
|
# > unshare: unshare failed: Invalid argument
|
||||||
|
# For full logs, run 'nix log /nix/store/4pbzqss4j7xpbj742zjbhrbl5azdgfnl-image.drv'.
|
||||||
|
|
||||||
image.repart = {
|
image.repart = {
|
||||||
name = "image";
|
name = "image";
|
||||||
partitions = {
|
partitions = {
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{
|
{
|
||||||
# TODO: Server too
|
# TODO: Server too
|
||||||
security = {
|
security.run0-sudo-shim.enable = true;
|
||||||
polkit.persistentAuthentication = true;
|
|
||||||
run0-sudo-shim.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue