+170
-158
nixos/modules/installer/tools/tools.nix
+170
-158
nixos/modules/installer/tools/tools.nix
············+# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.+# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.+# This option defines the first version of NixOS you have installed on this particular machine,+# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.+# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how+# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,+# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .·········-config = lib.mkMerge [ (lib.mkIf (config.nix.enable && !config.system.disableInstallerTools) {-# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.-# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.-# This option defines the first version of NixOS you have installed on this particular machine,-# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.-# so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how-# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,-# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .-# These may be used in auxiliary scripts (ie not part of toplevel), so they are defined unconditionally.+# These may be used in auxiliary scripts (ie not part of toplevel), so they are defined unconditionally.+nixos-option = lib.warn "Accessing nixos-option through `config.system.build` is deprecated, use `pkgs.nixos-option` instead." pkgs.nixos-option;+nixos-enter = lib.warn "Accessing nixos-enter through `config.system.build` is deprecated, use `pkgs.nixos-enter` instead." pkgs.nixos-enter;