about summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* nixos-option: Disable on Nix >= 2.4 because it doesn't compileEelco Dolstra2020-03-20
| | | | This is needed when using the overlay from the Nix flake.
* nix-fallback-paths.nix: Fix x86_64-linux pathEelco Dolstra2020-02-24
| | | | https://github.com/NixOS/nix/issues/3370
* Merge pull request #78935 from worldofpeace/update-gnome3-iso-expressionworldofpeace2020-02-23
|\ | | | | installation-cd-graphical-gnome: updates
| * installation-cd-graphical-gnome: updatesworldofpeace2020-02-23
| | | | | | | | | | | | Note we're not using wayland default in the graphical media because it could cause headaches for Nvidia users. But the session is still available if someone logs out.
* | nix: 2.3.2 -> 2.3.3Eelco Dolstra2020-02-19
| |
* | nixos/modules/installer/cd-dvd/channel.nix: Handle null ↵Eelco Dolstra2020-02-15
| | | | | | | | config.system.nixos.revision
* | nixos/nixos-build-vms: switch to python test-driverMaximilian Bosch2020-02-15
| | | | | | | | | | | | | | | | | | | | | | | | In 0945178b3c6fd9e33002dd6e3c6f77dfca49565a we decided that Perl-based VM tests should be deprecated and will be removed between 20.03 and 20.09. So let's switch `nixos-build-vms(8)` to python as well (which is entirely interactive, so other scripts won't break). In my experience, the test-driver isn't used most of the time, so this patch is mainly supposed to get rid of the (probably misleading) deprecation warning when running `nixos-build-vms`. Apart from that, the interface for python's test-driver is way nicer.
* | installation-cd-graphical-base.nix: adding git (#79098)snicket21002020-02-14
| |
* | nixos-enter: redirect to fd2 instead of a file named /dev/stderrGraham Christensen2020-02-12
| | | | | | | | | | | | | | | | | | | | | | | | In some cases, /dev/stderr may not point to a sensible location. For example, running nixos-enter inside a systemd unit where the unit's StandardOutput and StandardError are set to be sockets. In these cases, this line would fail. Piping to fd2 directly works just as well, even under strange and twisted executions. Co-authored-by: Michael Bishop <michael.bishop@iohk.io>
* | DohEelco Dolstra2020-02-10
| |
* | nixos-rebuild: Remove TODOsEelco Dolstra2020-02-10
| |
* | nixos.revision: Use null instead of "master"Eelco Dolstra2020-02-10
| | | | | | | | | | | | "master" is not a valid SHA-1 commit hash, and it's not even necessarily the branch used. 'nixos-version --revision' now returns an error if the commit hash is not known.
* | nixos-version --json: Use builtins.toJSONEelco Dolstra2020-02-10
| |
* | nixos-rebuild: Remove --keep-going flagEelco Dolstra2020-02-10
| |
* | nixos-rebuild: Make 'edit' work with with flakesEelco Dolstra2020-02-10
| |
* | nixos-rebuild: Propagate various flake lock file flagsEelco Dolstra2020-02-05
| | | | | | | | And also --refresh and --no-net.
* | nixos-rebuild: Avoid subshell reading hostnameEelco Dolstra2020-02-05
| | | | | | Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
* | nixos-rebuild: Support -L flagEelco Dolstra2020-02-05
| |
* | nixos-rebuild: uri -> urlEelco Dolstra2020-02-05
| |
* | nixos-{rebuild,container}: Use flakeref#attrpath syntaxEelco Dolstra2020-02-05
| | | | | | | | This makes them consistent with the 'nix' command line.
* | nixos-rebuild: Use /etc/nixos/flake.nix if it existsEelco Dolstra2020-02-05
| |
* | nixos-version: Add --json flag and show system.configurationRevisionEelco Dolstra2020-02-05
| |
* | nixos-rebuild: Add --flake optionEelco Dolstra2020-02-05
| |
* | Revert "Revert "Merge master into staging-next""Frederik Rietdijk2020-02-05
| | | | | | | | | | | | | | | | In 87a19e9048773d5a363679617406ad148d36c3b8 I merged staging-next into master using the GitHub gui as intended. In ac241fb7a570d6cf81d229ad22a8889602639160 I merged master into staging-next for the next staging cycle, however, I accidentally pushed it to master. Thinking this may cause trouble, I reverted it in 0be87c79797a5fa384fbc356c74ed54f9f7829ea. This was however wrong, as it "removed" master. This reverts commit 0be87c79797a5fa384fbc356c74ed54f9f7829ea.
* | Revert "Merge master into staging-next"Frederik Rietdijk2020-02-05
| | | | | | | | | | | | | | | | I merged master into staging-next but accidentally pushed it to master. This should get us back to 87a19e9048773d5a363679617406ad148d36c3b8. This reverts commit ac241fb7a570d6cf81d229ad22a8889602639160, reversing changes made to 76a439239eb310d9ad76d998b34d5d3bc0e37acb.
* | use overlayfs by default for netboot and isoRichard Marko2020-02-05
| |
* | nixos-rebuild: --use-remote-sudo does not take an argumentEelco Dolstra2020-02-01
| | | | | | | | Also remove outdated comment about trailing space.
* | Merge pull request #75439 from Ma27/submodule-fixes-for-nixos-optionMaximilian Bosch2020-02-01
|\ \ | | | | | | nixos/nixos-option: fix evaluator to render a full submodule entry
| * | nixos/nixos-option: Convert --all into -rChuck2019-12-19
| | |
| * | nixos/nixos-option: Refactor: Move functions aroundChuck2019-12-19
| | |
| * | nixos/nixos-option: Show values inside aggregate options uniformlyChuck2019-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. This makes aggregates of submodules (including the very important "nixos-option users.users.<username>" case) behave the same way as any other you-need-to-keep-typing-to-get-to-an-option-leaf (eg: "nixos-option environment"). Before e0780c5: $ nixos-option users.users.root error: At 'root' in path 'users.users.root': Attribute not found An error occurred while looking for attribute names. Are you sure that 'users.users.root' exists? After e0780c5 but before this change, this query just printed out a raw thing, which is behavior that belongs in "nix eval", "nix-instantiate --eval", or "nix repl <<<": $ nixos-option users.users.root { _module = { args = { name = "root"; }; check = true; }; createHome = false; cryptHomeLuks = null; description = "System administrator"; ... After this change: $ nixos-option users.users.root This attribute set contains: createHome cryptHomeLuks description extraGroups group hashedPassword ... 2. For aggregates of other types (not submodules), print out the option that contains them rather than printing an error message. Before: $ nixos-option environment.shellAliases.l error: At 'l' in path 'environment.shellAliases.l': Attribute not found An error occurred while looking for attribute names. Are you sure that 'environment.shellAliases.l' exists? After: $ nixos-option environment.shellAliases.l Note: showing environment.shellAliases instead of environment.shellAliases.l Value: { l = "ls -alh"; ll = "ls -l"; ls = "ls --color=tty"; } ...
| * | nixos/nixos-option: fix evaluator to render a full submodule entryMaximilian Bosch2019-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running e.g. `nixos-option users.users.ma27`, the evaluation breaks since `ma27` is the attribute name in `attrsOf (submodule {})`, but not a part of the option tree and therefore breaks with the following errors: ``` error: At 'ma27' in path 'users.users.ma27': Attribute not found An error occurred while looking for attribute names. Are you sure that 'users.users.ma27' exists? ``` This happens since the option evaluator expects that either the option exists or the option is a submodule and the "next" token in the attribute path points to an option (e.g. `users.users.ma27.createHome`). This patch checks in the `Attribute not found` condition if the attribute-path actually exists in the config tree. If that's true, a dummy-attrset is created which contains `{_type = "__nixos-option-submodule-attr";}`, in that case, the entire entry of the submodule will be displayed.
* | | nixos/release: rename iso_graphical to iso_plasma5worldofpeace2020-01-27
| |/ |/| | | | | And all the other things and paths to match it
* | nixos-rebuild: fix the maybeSudo usagezimbatm2020-01-21
| | | | | | | | | | * properly expand the command using arrays instead of strings * also handle sudo on the localhost
* | Improve documentation for stateVersionMalte Brandy2020-01-07
| | | | | | | | | | The meaning of stateVersion often leads to a lot of confusion. This commit trys to improve that situation.
* | treewide: use attrs instead of list for types.loaOf optionsrnhmjoj2020-01-06
| |
* | nix: 2.3.1 -> 2.3.2Eelco Dolstra2020-01-05
| |
* | Merge pull request #76189 from Ma27/nixos-install-verbosity-levelLinus Heckemann2019-12-28
|\ \ | | | | | | nixos/nixos-installer: add flags for verbosity and build logs
| * | nixos/nixos-installer: add flags for verbosity and build logsMaximilian Bosch2019-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | When installing a fresh NixOS system it occasionally happens that you encounter issues that are rather hard to track down since `nixos-install(8)` doesn't provide any debugging flags. This patch adds `-L` to force `nix build` to display the build-log on stderr and `-v` to increase the log-level of Nix.
* | | nixos-generate-config: i18n.consoleFont has been renamed to console.fontPavol Rusnak2019-12-25
|/ / | | | | | | fixes #76391
* | nixos-generate-config: don't generate swapDevices for zram devices (#75921)buckley3102019-12-19
| |
* | nixos: compress make-ext4-fs with zstdBernardo Meurer2019-12-13
| |
* | installer/cd-dvd/iso-image: avoid leaking build timestampsArnout Engelen2019-12-11
|/ | | | | | | | | | | | | | | | | | | | When 'grafting' '/nix/store/<hash>-loopback.cfg' from disk onto '/boot/grub/loopback.cfg' on the iso, the parent 'grub' directory does not exist yet. In this case it is automatically created and inherits its attributes, including timestamp, from /nix/store. This is correct/expected/intentional behavior of xorriso, but has the undesired result of leaking the timestamps of /nix/store into the iso. For this reason we put the loopback.cfg in a '/nix/store/<hash>-loopback.cfg/grub/loopback.cfg' instead, so it will inherit the attributes from the correctly-timestamped '/nix/store/<hash>-loopback.cfg/grub' directory. For the same reason we move '/EFI/boot/efi-background.png' down in the list so it is grafted after its parent '/EFI/boot' directory is created with the correct timestamp. fixes #74944
* nixos/plasma5: drop enableQt4Support optionJan Tojnar2019-11-22
| | | | Phonon no longer supports Qt4 so this is useless.
* Merge pull request #71622 from worldofpeace/iso-no-slimworldofpeace2019-11-11
|\ | | | | installer: use sddm in plasma5
| * installer: use sddm in plasma5worldofpeace2019-10-22
| | | | | | | | | | | | | | | | | | | | Slim is abandoned and won't work with wayland. It's in our best interest to use the display-manager that makes most sense for Plasma5, sddm. We've already moved on from it being default in #30890 and the graphical.nix profile, which the virtualbox profile uses, has sddm anyway.
* | Merge pull request #72751 from c00w/sd_image_hydraSamuel Dionne-Riel2019-11-10
|\ \ | | | | | | sd-image: Add the compressed file path for hydra.
| * | sd-image: Add the compressed file path for hydra.Colin L Rice2019-11-05
| |/ | | | | | | This makes the nixos on arm user instructions work again.
* | nixos-rebuild: add explicit option to enable (remote) sudoBjørn Forsman2019-11-07
| | | | | | | | | | | | Add --use-remote-sudo option. When set, remote commands will be prefixed with 'sudo'. This allows using sudo remotely _without_ having to use sudo locally (when using --build-host/--taget-host).
* | snake_case -> camelCaseChuck2019-11-04
| |