From c4c901394140a2e1b78931b5f1c5a34b8f5fe318 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Fri, 29 Aug 2025 21:42:46 -0400 Subject: [PATCH] Close to building --- clients/quadphone/hardware-configuration.nix | 5 +---- clients/quadphone/repart.nix | 12 ++++++++++++ modules/graphical/run0.nix | 5 +---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/clients/quadphone/hardware-configuration.nix b/clients/quadphone/hardware-configuration.nix index fa8a443..8f6cd4c 100644 --- a/clients/quadphone/hardware-configuration.nix +++ b/clients/quadphone/hardware-configuration.nix @@ -18,8 +18,5 @@ boot.initrd.allowMissingModules = true; - nixpkgs = { - hostPlatform = "aarch64-linux"; - config.allowBroken = true; - }; + nixpkgs.config.allowBroken = true; } diff --git a/clients/quadphone/repart.nix b/clients/quadphone/repart.nix index cc5a783..57b58d0 100644 --- a/clients/quadphone/repart.nix +++ b/clients/quadphone/repart.nix @@ -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 = { name = "image"; partitions = { diff --git a/modules/graphical/run0.nix b/modules/graphical/run0.nix index 1811a7b..1275435 100644 --- a/modules/graphical/run0.nix +++ b/modules/graphical/run0.nix @@ -1,7 +1,4 @@ { # TODO: Server too - security = { - polkit.persistentAuthentication = true; - run0-sudo-shim.enable = true; - }; + security.run0-sudo-shim.enable = true; }