nixpkgs/pkgs/os-specific
r-vdp 1da9bad1a2
nixos-rebuild: run systemd-run with / as the working directory
Before we would run systemd-run with the user's home dir as the working
directory, but this causes issues when the home dir is on a separate
partition and that partition cannot be mounted, as the transient unit
created by systemd-run would gain a dependency on the home mount and fail.
Since the root partition is guaranteed to be mounted, using that as the
working directory avoids this issue and allows doing a remote
nixos-rebuild to fix the issue preventing /home from being mounted.
2024-11-03 11:35:30 +01:00
..
bsd Merge master into staging-next 2024-10-24 18:04:38 +00:00
darwin Merge master into staging-next 2024-10-31 06:05:03 +00:00
linux nixos-rebuild: run systemd-run with / as the working directory 2024-11-03 11:35:30 +01:00
windows Clean up cross bootstrapping, take 2 (#321525) 2024-09-06 14:56:54 -04:00