mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 05:59:17 +03:00
doc: Add warning for configuration file copy in flake systems (#369051)
This commit is contained in:
commit
25d0c5fd08
1 changed files with 2 additions and 1 deletions
|
@ -154,9 +154,10 @@ in
|
||||||
description = ''
|
description = ''
|
||||||
If enabled, copies the NixOS configuration file
|
If enabled, copies the NixOS configuration file
|
||||||
(usually {file}`/etc/nixos/configuration.nix`)
|
(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`).
|
(getting to {file}`/run/current-system/configuration.nix`).
|
||||||
Note that only this single file is copied, even if it imports others.
|
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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue