From 7fc04fcf20db53bcbfc4beb99d0fb47091fe8ae3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 7 Apr 2026 15:44:31 +0000 Subject: [PATCH 1/2] Initial plan From 7a172c03066ffcf0bd7cb728e060effdda2bbae7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 7 Apr 2026 15:45:30 +0000 Subject: [PATCH 2/2] Fix chpasswd not found by using nixos-enter instead of bare chroot Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/1bb103de-c4a5-4701-b1b8-6aad670b97c3 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- iso/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/installer.py b/iso/installer.py index 5aef89d..7e35402 100644 --- a/iso/installer.py +++ b/iso/installer.py @@ -1001,7 +1001,7 @@ class InstallerWindow(Adw.ApplicationWindow): run(["sudo", "chmod", "600", "/mnt/var/lib/secrets/free-password"]) proc = subprocess.run( - ["sudo", "chroot", "/mnt", "chpasswd"], + ["sudo", "nixos-enter", "--root", "/mnt", "--", "sh", "-c", "chpasswd"], input=f"free:{password}", capture_output=True, text=True )