Compare commits
3 Commits
eba517d34d
...
18a6e8d24c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18a6e8d24c | ||
|
|
7a172c0306 | ||
|
|
7fc04fcf20 |
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user