doc: Add warning for configuration file copy in flake systems

This commit is contained in:
Lucy
2024-12-29 10:39:46 +01:00
parent 323d07e497
commit 8a1561bba6
@@ -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
'';
};