summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-10-03 10:24:12 +0100
committerThiago Kenji Okada <thiagokokada@gmail.com>2023-10-04 20:45:23 +0100
commit1e79cca679380dd9fa05e76c11a22815cfcde773 (patch)
treeb659a607d03196b607aa44f7782f5b6c3d975191 /nixos/doc
parentecd89093e178e50ead57e3338f25e637dd29310b (diff)
downloadnixpkgs-1e79cca679380dd9fa05e76c11a22815cfcde773.tar
nixpkgs-1e79cca679380dd9fa05e76c11a22815cfcde773.tar.gz
nixpkgs-1e79cca679380dd9fa05e76c11a22815cfcde773.tar.bz2
nixpkgs-1e79cca679380dd9fa05e76c11a22815cfcde773.tar.lz
nixpkgs-1e79cca679380dd9fa05e76c11a22815cfcde773.tar.xz
nixpkgs-1e79cca679380dd9fa05e76c11a22815cfcde773.tar.zst
nixpkgs-1e79cca679380dd9fa05e76c11a22815cfcde773.zip
release-notes: document nixos-rebuild changes
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/release-notes/rl-2311.section.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md
index e8562a7580c..48649ba361e 100644
--- a/nixos/doc/manual/release-notes/rl-2311.section.md
+++ b/nixos/doc/manual/release-notes/rl-2311.section.md
@@ -197,6 +197,8 @@
 
 - `fileSystems.<name>.autoResize` now uses `systemd-growfs` to resize the file system online in stage 2. This means that `f2fs` and `ext2` can no longer be auto resized, while `xfs` and `btrfs` now can be.
 
+- `nixos-rebuild {switch,boot,test,dry-activate}` now runs the system activation inside `systemd-run`, creating an ephemeral systemd service and protecting the system switch against issues like network disconnections during remote (e.g. SSH) sessions. This has the side effect of running the switch in an isolated environment, that could possible break post-switch scripts that depends on things like environment variables being set. If you want to opt-out from this behavior for now, you may set the `NIXOS_SWITCH_USE_DIRTY_ENV` environment variable before running `nixos-rebuild`. However, keep in mind that this option will be removed in the future.
+
 - The `services.vaultwarden.config` option default value was changed to make Vaultwarden only listen on localhost, following the [secure defaults for most NixOS services](https://github.com/NixOS/nixpkgs/issues/100192).
 
 - `services.lemmy.settings.federation` was removed in 0.17.0 and no longer has any effect. To enable federation, the hostname must be set in the configuration file and then federation must be enabled in the admin web UI. See the [release notes](https://github.com/LemmyNet/lemmy/blob/c32585b03429f0f76d1e4ff738786321a0a9df98/RELEASES.md#upgrade-instructions) for more details.