doc: Add warning for configuration file copy in flake systems (#369051)

This commit is contained in:
Jörg Thalheim 2024-12-30 13:00:37 +01:00 committed by GitHub
commit 25d0c5fd08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,9 +154,10 @@ in
description = ''
If enabled, copies the NixOS configuration file
(usually {file}`/etc/nixos/configuration.nix`)
and links it from the resulting system
and symlinks it from the resulting system
(getting to {file}`/run/current-system/configuration.nix`).
Note that only this single file is copied, even if it imports others.
Warning: This feature cannot be used when the system is configured by a flake
'';
};