stuff
This commit is contained in:
@@ -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
|
||||
'')
|
||||
];
|
||||
|
@@ -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";
|
||||
|
Reference in New Issue
Block a user