system.copySystemConfiguration

If enabled, copies the NixOS configuration file (usually /etc/nixos/configuration.nix) and symlinks it from the resulting system (getting to /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

Type
boolean
Default
false
Declared
<nixpkgs/nixos/modules/system/activation/top-level.nix>