summary refs log tree commit diff
path: root/nixos/modules/installer/tools
Commit message (Collapse)AuthorAge
* nix-fallback-paths.nix: Update to 2.7.0Nick Cao2022-03-08
|
* nixos-build-vms(8): `$out/bin/nixos-run-vms` should non-interactively start VMsMaximilian Bosch2022-02-19
| | | | | | | | | | | | | | Not entirely sure when it got broken this time, but when creating a VM network with `nixos-build-vms(8)`, there are should be the following scripts: * `$out/bin/nixos-test-driver` which drops into an interactive shell to interactively perform test steps. * `$out/bin/nixos-run-vms` which non-interactively starts the VMs from the network so that one can manually play around in the VM. The latter also starts an interactive shell for a while now which means that it does the exact same thing as `nixos-test-driver` which is not its purpose.
* nixos/nixos-generate-config: move dhcpConfig from configuration.nix to ↵Artturin2022-02-09
| | | | hardware-configuration.nix
* nixos/nixos-generate-config: fix proram path replacementsArtturin2022-02-09
| | | | | btrfs-progs was made optional in 2019 c01ea27ce356e1433da01a7b46ba40c880f2f2ac because it didn't cross-compile. it now does
* nixos/tools: add more keymap options to configuration templateArtturin2022-02-09
|
* nixos/tools: add networkmanager to configuration templateArtturin2022-02-09
|
* nix-fallback-paths: update to 2.6.0Bernardo Meurer2022-01-31
|
* Merge pull request #150408 from Enzime/systemd-boot-extra-entriespennae2022-01-13
|\ | | | | nixos/systemd-boot: Add `extraEntries` and `extraFiles` options
| * nixos/nixos-enter: Don't passthru `TMPDIR`Michael Hoang2021-12-31
| | | | | | | | | | | | | | | | | | `mktemp` tries to use the `TMPDIR` from `nixos-install` outside of the `chroot` instead of `/tmp` inside the `chroot` and fails. For some reason the `TMPDIR` is being passed through the `chroot` call. I haven't tested if other environment variables are being passed through that shouldn't be.
* | nixos-install: copy channels before system evalpennae2022-01-05
|/ | | | | | | | | since fc614c37c653637e5475a0b0a987489b4d1f351d nixos needs access to its own path (<nixpkgs/nixos>) to evaluate a system with documentation. since documentation is enabled by default almost all systems need such access, including the installer tests. nixos-install however does not ensure that a channel exists in the target store before evaluating the system in that store, which can lead to `path is not valid` errors.
* nixos/installer: Quote variable referencesVictor Engmark2021-11-26
| | | | See <https://github.com/koalaman/shellcheck/wiki/SC2086>.
* nixos/installer: Use `-n` instead of `! -z`Victor Engmark2021-11-26
| | | | See <https://github.com/koalaman/shellcheck/wiki/SC2236>.
* nixos/installer: Mark scripts as Bash for ShellCheckVictor Engmark2021-11-26
| | | | See <https://github.com/koalaman/shellcheck/wiki/SC2239>.
* nixos-install: support --no-root-passwordGraham Christensen2021-11-22
|
* nixos-generate-config: automatically enable microcode updatesArtturin2021-11-15
|
* nix-fallback-paths.nix: Update to 2.4Eelco Dolstra2021-11-09
|
* nixos/nixos-enter: bind mount /etc/resolv.conf to chrootArtturin2021-10-30
|
* nixos/nixos-enter: Add IN_NIXOS_ENTER variableJanne Heß2021-10-13
|
* nix-fallback-paths.nix: Update to 2.3.16Eelco Dolstra2021-10-07
|
* Merge pull request #126713 from ↵Jacek Galowicz2021-10-07
|\ | | | | | | | | blaggacao/nixos-test-ref/05-class-ify-test-driver nixos test ref/05 class ify test driver
| * nixos/build-vms: fix evalMaximilian Bosch2021-10-05
| |
| * nixos/test/test-driver: Class-ify the test driverDavid Arnold2021-10-05
| | | | | | | | | | | | | | This commit encapsulates the involved domain into classes and defines explicit and typed arguments where untyped dicts where used. It preserves backwards compatibility through legacy wrappers.
* | Merge pull request #104828 from matthewbauer/add-disableInstallerTools-optionArtturi2021-09-14
|\ \ | |/ |/|
| * installers/tools: add system.disableInstallerTools optionMatthew Bauer2020-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option can be set to disable installer tools like nixos-rebuild, nixos-install, and nixos-generate-config (as well as more). This is nice when a system is not expected to be rebuild or reconfigure itself such as in a stateless PXE setup, as well as other embedded scenarios. Note, that the system can still be updated, but it must either get nixos-rebuild from another source, or, for embedded systems, be upgraded by another machine like: nix copy "$system" --to "ssh://root@<host>" && ssh "root@<host>" "nix-env -p /nix/var/nix/profiles/system --set $system && $system/bin/switch-to-configuration switch". Along with other options, this allows removing Perl from a closure. For example: { boot.enableContainers = false; environment.defaultPackages = []; system.disableInstallerTools = true; } should not include Perl.
* | nix-fallback-paths.nix: Update to 2.3.15Eelco Dolstra2021-07-28
| |
* | nixStable: 2.3.12 -> 2.3.14Maximilian Bosch2021-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: https://github.com/NixOS/nix/compare/2.3.12...2.3.14 Since this is a bugfix release that wasn't pushed to `nixpkgs`, I decided to take care of it. As it's usually done in `upload-release.pl`[1], I updated the fallback-paths accordingly and used eval `1687468`[2] for this with Nix 2.3.14. Also added a fallback-path for `aarch64-darwin` as Nix 2.3.14 seems to support this now[3]. [1] https://github.com/NixOS/nix/blob/2.3-maintenance/maintainers/upload-release.pl [2] https://hydra.nixos.org/eval/1687468 [3] https://github.com/NixOS/nix/commit/14262b86cc5825deae095c14553d623af498124c
* | nixos-option: add backwards compatibility layerRobert Helgesson2021-07-10
| | | | | | | | | | | | This adds a basic `nixos-option/default.nix` file to provide some measure of backwards compatibility with Nixpkgs prior to ce6f17f9530ea013d267e07d2dd958bb4e3019dd.
* | nixos-option: init at <unversioned>Robert Helgesson2021-07-09
| |
* | nixos-option: remove if `nix.package` is unstableTimothy DeHerrera2021-06-29
| | | | | | | | | | | | This was done in a0a61c3e34873d02034cb804975ad2981328b5b4, but users typically install `nixUnstable` via `nix.package`, not by overlaying `pkgs.nix` directly.
* | nix: 2.3.10 -> 2.3.11Eelco Dolstra2021-05-14
| | | | | | | | | | | | The patch is included in the new release, so can be dropped. Co-authored-by: Alyssa Ross <hi@alyssa.is>
* | Revert "Revert "Revert "nix: 2.3.10 -> 2.3.11"""Alyssa Ross2021-05-14
| | | | | | | | | | | | This reverts commit 66fc303070a8ed731ffcb8733b825a03d5a2babe. There is still a patch that doesn't apply.
* | Revert "Revert "nix: 2.3.10 -> 2.3.11""Eelco Dolstra2021-05-14
| | | | | | | | This reverts commit 1872bbdae55ffc82bbbe632e50fcea0e2bb5fcea.
* | Revert "nix: 2.3.10 -> 2.3.11"Alyssa Ross2021-05-14
| | | | | | | | | | | | | | | | This reverts commit 6f6b2cdc98f93701caf74e512ac0e3fe68730c23. Version wasn't updated, and apparently a patch didn't apply. Let's do this upgrade properly, in a PR, but for now I'm reverting so we don't have a broken nix package in master.
* | nix: 2.3.10 -> 2.3.11Eelco Dolstra2021-05-14
| |
* | nixos-install: fix flake commandJörg Thalheim2021-04-24
| |
* | configuration template: improve docs on nanoJörg Thalheim2021-04-21
| |
* | configuration template: add hint to install editor (#105771)Jörg Thalheim2021-04-20
| | | | | | fixes #25376
* | treewide: use perl.withPackages when possiblernhmjoj2021-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 03eaa48 added perl.withPackages, there is a canonical way to create a perl interpreter from a list of libraries, for use in script shebangs or generic build inputs. This method is declarative (what we are doing is clear), produces short shebangs[1] and needs not to wrap existing scripts. Unfortunately there are a few exceptions that I've found: 1. Scripts that are calling perl with the -T switch. This makes perl ignore PERL5LIB, which is what perl.withPackages is using to inform the interpreter of the library paths. 2. Perl packages that depends on libraries in their own path. This is not possible because perl.withPackages works at build time. The workaround is to add `-I $out/${perl.libPrefix}` to the shebang. In all other cases I propose to switch to perl.withPackages. [1]: https://lwn.net/Articles/779997/
* | nixos/tools: generate an xserver configWORLDofPEACE2021-02-13
| | | | | | | | | | The desktop configuration won't enable xserver. If there's multiple desktops enabled they will now evaluate properly.
* | nixos/tools: make desktopConfiguation types.listOf types.linesWORLDofPEACE2021-02-13
| | | | | | | | This fixes #108124.
* | Merge pull request #109665 from prusnak/stdenv-lib-nixosRobert Hensing2021-01-19
|\ \ | | | | | | nixos/modules: stdenv.lib -> lib
| * | nixos/modules: stdenv.lib -> libPavol Rusnak2021-01-17
| | |
* | | nixos/modules: pkgconfig -> pkg-configJonathan Ringer2021-01-19
|/ /
* | move nixos-rebuild into pkgsDomen Kožar2021-01-15
| |
* | Merge pull request #80769 from chkno/nixos-enter-tmpNiklas Hambüchen2020-12-31
|\ \ | | | | | | nixos/nixos-enter: Create /tmp
| * | nixos/nixos-enter: Create /tmpChuck2020-02-21
| | | | | | | | | | | | | | | | | | | | | /tmp is normally created by the systemd-tmpfiles-setup systemd service at startup. Fixes #39140
* | | nix: 2.3.9 -> 2.3.10Eelco Dolstra2020-12-18
| |/ |/|
* | nix: 2.3.8 -> 2.3.9Eelco Dolstra2020-11-20
| |
* | Support virtio_scsi devices on nixos-generate-configVictor Nawothnig2020-11-04
| |
* | nixos-install: pass through keep-going flaghyperfekt2020-10-31
| |