Close to building

This commit is contained in:
Henry Hiles 2025-08-29 21:42:46 -04:00
commit c4c9013941
No known key found for this signature in database
3 changed files with 14 additions and 8 deletions

View file

@ -18,8 +18,5 @@
boot.initrd.allowMissingModules = true; boot.initrd.allowMissingModules = true;
nixpkgs = { nixpkgs.config.allowBroken = true;
hostPlatform = "aarch64-linux";
config.allowBroken = true;
};
} }

View file

@ -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 = {

View file

@ -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;
};
} }