diff options
author | Linus Heckemann <git@sphalerite.org> | 2022-04-24 00:01:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 00:01:00 +0200 |
commit | c85bc19cdf518fdddda2242e02103a3f028f0fe3 (patch) | |
tree | 3aa5fc161b42c23f9dcb0d312a6c484713c01f51 /nixos/modules/installer | |
parent | 3bc04c3e9d80f917bb7e096f4113aadea0309f67 (diff) | |
parent | 0edfd89d6e24064d2b0fd0853b8e19c42906dc1b (diff) | |
download | nixlib-c85bc19cdf518fdddda2242e02103a3f028f0fe3.tar nixlib-c85bc19cdf518fdddda2242e02103a3f028f0fe3.tar.gz nixlib-c85bc19cdf518fdddda2242e02103a3f028f0fe3.tar.bz2 nixlib-c85bc19cdf518fdddda2242e02103a3f028f0fe3.tar.lz nixlib-c85bc19cdf518fdddda2242e02103a3f028f0fe3.tar.xz nixlib-c85bc19cdf518fdddda2242e02103a3f028f0fe3.tar.zst nixlib-c85bc19cdf518fdddda2242e02103a3f028f0fe3.zip |
Merge pull request #169303 from emccorson/fix/add-copy-system-config
nixos/tools: add copySystemConfiguration to configuration file template
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/tools/tools.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix index 2e088b977710..bf5ec0f9690b 100644 --- a/nixos/modules/installer/tools/tools.nix +++ b/nixos/modules/installer/tools/tools.nix @@ -206,6 +206,11 @@ in # Or disable the firewall altogether. # networking.firewall.enable = false; + # Copy the NixOS configuration file and link it from the resulting system + # (/run/current-system/configuration.nix). This is useful in case you + # accidentally delete configuration.nix. + # system.copySystemConfiguration = true; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave |