Make custom.nix read-write (644) on all new installs
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/1606cde2-b484-4570-a64e-649f80384367 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
459536d478
commit
f0f690eae4
@@ -245,6 +245,7 @@ if [[ -n "$DEPLOY_KEY" || -n "$HEADSCALE_SERVER" ]]; then
|
||||
} > /mnt/etc/nixos/custom.nix
|
||||
else
|
||||
cp /mnt/etc/nixos/custom.template.nix /mnt/etc/nixos/custom.nix
|
||||
chmod 644 /mnt/etc/nixos/custom.nix
|
||||
fi
|
||||
|
||||
# ── Write Headscale auth key if provided ─────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user