diff options
author | Eric Corson <emccorson@gmail.com> | 2022-04-19 10:33:29 +0100 |
---|---|---|
committer | Eric Corson <emccorson@gmail.com> | 2022-04-19 10:53:47 +0100 |
commit | 0edfd89d6e24064d2b0fd0853b8e19c42906dc1b (patch) | |
tree | 4548282b9caee9fa9e8283d0add1ea19e9e063b9 /nixos/modules/installer | |
parent | b235fa2abc957923e7381bfca84f54bed453c6e9 (diff) | |
download | nixlib-0edfd89d6e24064d2b0fd0853b8e19c42906dc1b.tar nixlib-0edfd89d6e24064d2b0fd0853b8e19c42906dc1b.tar.gz nixlib-0edfd89d6e24064d2b0fd0853b8e19c42906dc1b.tar.bz2 nixlib-0edfd89d6e24064d2b0fd0853b8e19c42906dc1b.tar.lz nixlib-0edfd89d6e24064d2b0fd0853b8e19c42906dc1b.tar.xz nixlib-0edfd89d6e24064d2b0fd0853b8e19c42906dc1b.tar.zst nixlib-0edfd89d6e24064d2b0fd0853b8e19c42906dc1b.zip |
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 |