This commit is contained in:
Shelvacu
2025-07-12 14:09:07 -07:00
committed by Shelvacu on fw
parent c917247175
commit 2e13b0dda4
2 changed files with 3 additions and 3 deletions

View File

@@ -168,14 +168,14 @@ in
if ! [[ -L "$fn" ]]; then
die "fn is not a symlink!?: $fn"
fi
pointed="$(readlink -v "$fn")"
pointed="$(readlink -v -- "$fn")"
if ! [[ -e "$pointed" ]]; then
continue
fi
if [[ "$pointed" == /nix/var/nix/profiles/system-* ]]; then
continue
fi
printf '%s' "$pointed"
printf '%s\n' "$pointed"
done
'')
];

View File

@@ -1,7 +1,7 @@
{ config, lib, ... }:
{
# this is an installer image, created anew every time. There's no state we need to worry about messing up
system.stateVersion = config.system.nixos.version;
system.stateVersion = config.system.nixos.release;
services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
vacu.hostName = "vacuInstaller";
vacu.shell.color = "red";