summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
...
| * | | | | | | | nixos/promtheus-nginx-exporter: update moduleWilliButz2018-05-01
| | | | | | | | |
| * | | | | | | | Merge pull request #38351 from grahamc/user-channelsGraham Christensen2018-05-01
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add user channels to the default nix path
| | * | | | | | | | Add user channels to the default nix pathGraham Christensen2018-05-01
| | | | | | | | | |
| * | | | | | | | | hitch: init at 1.4.8 + service + test (#39358)Julien Langlois2018-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the Hitch TLS reverse proxy as an option for TLS termination.
| * | | | | | | | | Merge pull request #39798 from lheckemann/nixos-install-chroot-docJörg Thalheim2018-05-01
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | nixos-install manual: remove --chroot option
| | * | | | | | | | | nixos-install manual: remove --chroot optionLinus Heckemann2018-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option has been removed from the tool in favour of nixos-enter.
| * | | | | | | | | | Merge pull request #38831 from rdnetto/improve-cross-refsGraham Christensen2018-04-30
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / | |/| | | | | | | | | Improve cross referencing in NixOS Manual
| | * | | | | | | | | Fixed indentationReuben D'Netto2018-04-17
| | | | | | | | | | |
| | * | | | | | | | | Added cross-references to NixOS manualReuben D'Netto2018-04-12
| | | | | | | | | | |
| * | | | | | | | | | nixos/bspwm: spawn bpswm process in the background and properly set waiPID ↵Milo2018-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#39707)
| * | | | | | | | | | nixos/osquery: add testMaximilian Bosch2018-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some time ago I fixed the broken package `osquery` (see #39336). I had to test the package manually by starting the daemon locally, however this doesn't ensure that the module is still functional. In order to cover the package *and* the integration with the NixOS module I thought that adding a testcase might be the best idea. The current testcase does the following things: * Starts an `osqueryd` service in a test machine with customized logger path and PID file * Ensures that the `osqueryd.service` unit is running * Checks if the customized flags (`pidfile`, `logger_path`) are applied to `osquery`. * Performs a simple test query against the `etc_hosts` database to check if the basic funcitonality of `osquery` (storing system information into a database) works fine.
| * | | | | | | | | | Merge pull request #39416 from Ma27/fix-.version-configMichael Raskin2018-04-30
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | .version: don't read from `.version` and deduplicate `.version-suffix` references
| | * | | | | | | | | | treewide: rename version attributesMaximilian Bosch2018-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested in https://github.com/NixOS/nixpkgs/pull/39416#discussion_r183845745 the versioning attributes in `lib` should be consistent to `nixos/version` which implicates the following changes: * `lib.trivial.version` -> `lib.trivial.release` * `lib.trivial.suffix` -> `lib.trivial.versionSuffix` * `lib.nixpkgsVersion` -> `lib.version` As `lib.nixpkgsVersion` is referenced several times in `NixOS/nixpkgs`, `NixOS/nix` and probably several user's setups. As the rename will cause a notable impact it's better to keep `lib.nixpkgsVersion` as alias with a warning yielded by `builtins.trace`.
| | * | | | | | | | | | lib: deduplicate version/suffix referencesMaximilian Bosch2018-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic regarding the generated `.version-suffix` file is already defined in `lib/trivial.nix` and shouldn't be duplicated in `nixos/version`.
* | | | | | | | | | | | nixos/docker-registry: Add support for garbage collector to docker registryMichele Catalano2018-05-01
| | | | | | | | | | | |
* | | | | | | | | | | | nixos/docker-registry: cleanup module definition & enhance testcaseMaximilian Bosch2018-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes have been applied: - the property `http.headers.X-Content-Type-Options` must a list of strings rather than a serialized list - instead of `/etc/docker/registry/config.yml` the configuration will be written with `pkgs.writeText` and the store path will be used to run the registry. This reduces the risk of possible impurities by relying on the Nix store only. - cleaned up the property paths to easy readability and reduce the verbosity. - enhanced the testcase to ensure that digests can be deleted as well - the `services.docker-registry.extraConfig` object will be merged with `registryConfig` /cc @ironpinguin
* | | | | | | | | | | | nixos/docker-registry: add more configuration options for docker-registryMichele Catalano2018-05-01
|/ / / / / / / / / / /
* | | | | | | | | | | Merge pull request #39649 from grahamc/hacking-docsGraham Christensen2018-04-29
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | NixOS docs: making it easier to hack on
| * | | | | | | | | | | nixos docs: include note about make for debugging the nixos docsGraham Christensen2018-04-28
| | | | | | | | | | | |
| * | | | | | | | | | | nixos manual: update xi:include for configuruation.nix's options-dbGraham Christensen2018-04-28
| | | | | | | | | | | |
| * | | | | | | | | | | nixos docs: Add a makefile for hacking on the nixos docsGraham Christensen2018-04-28
| | | | | | | | | | | |
| * | | | | | | | | | | nixos docs: Move generated XML in to a specific subdirectory to allow easier ↵Graham Christensen2018-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hacking
* | | | | | | | | | | | nixos/tests: Fix QEMU flags for SCSI disksaszlig2018-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ability to specify "-drive if=scsi" has been removed in QEMU version 2.12 (introduced in 3e3b39f173f9abc99da84084a1f4657c9de885bd). Quote from https://wiki.qemu.org/ChangeLog/2.12#Incompatible_changes: > The deprecated way of configuring SCSI devices with "-drive if=scsi" > on x86 has been removed. Use an appropriate SCSI controller together > "-device scsi-hd" or "-device scsi-cd" and a corresponding "-blockdev" > parameter instead. So whenever the diskInterface is "scsi" we use the new way to specify the drive and fall back to the deprecated way for the time being. The reason why I'm not using the new way for "virtio" and "ide" as well is because there is no simple generic way anymore to specify these. This also turns the type of the virtualisation.qemu.diskInterface option to be an enum, so the user knows which values are allowed but we can also make sure the right value is provided to prevent typos. I've tested this against a few non-disk-related NixOS VM tests but also the installer.grub1 test (because it uses "ide" as its drive interface), the installer.simple test (just to be sure it still works with "virtio") and all the tests in nixos/tests/boot.nix. In order to be able to run the grub1 test I had to go back to 8b1cf100cd8badad6e1b6d4650b904b88aa870db (which is a known commit where that test still works) and apply the QEMU update and this very commit, because right now the test is broken. Apart from the tests here in nixpkgs, I also ran another[1] test in another repository which uses the "scsi" disk interface as well (in comparison to most of the installer tests, this one actually failed prior to this commit). All of them now succeed. [1]: https://github.com/openlab-aux/vuizvui/blob/9b5a119972e9c2d327500638d89063f4fce243ec/tests/system/kernel/bfq.nix Signed-off-by: aszlig <aszlig@nix.build> Cc: @edostra, @grahamc, @dezgeg, @abbradar, @ts468
* | | | | | | | | | | | nixos/tests/udisks2: Fix USB device hotplugaszlig2018-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The usb_add and usb_del monitor commands have been removed in QEMU version 2.12 (introduced in 3e3b39f173f9abc99da84084a1f4657c9de885bd). Quote from https://wiki.qemu.org/ChangeLog/2.12#Incompatible_changes: > The deprecated HMP commands "usb_add" and "usb_del" have been removed. > Use "device_add" and "device_del" as replacement instead. So we're doing exactly that and the udisks2 test now works again. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra
* | | | | | | | | | | | rl-1809: add netcat noteMatthew Justin Bauer2018-04-29
| | | | | | | | | | | |
* | | | | | | | | | | | nixos/tests/hibernate: Fix netcat flagsaszlig2018-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not sure why 024b501907eafbd89624e465ff21afbc96e9fec6 used -q 0 because even netcat-openbsd has the -N flag which IMO is the better way to shutdown the socket on EOF. Our default netcat implementation has changed once again[1] in 3c3b82234a6faa5a4c07323d0066452055d1ea81 and we're now using LibreSSL's implementation, which doesn't have a -q flag. See https://github.com/NixOS/nixpkgs/pull/39634 for the pull request introducing the switch. [1]: https://github.com/NixOS/nixpkgs/pull/19982 Signed-off-by: aszlig <aszlig@nix.build> Cc: @matthewbauer, @dtzWill, @Mic92
* | | | | | | | | | | | Merge pull request #39340 from xeji/interim-fix-39069xeji2018-04-29
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | nixos/networkd: wait for udev to settle before starting networkd
| * | | | | | | | | | | | nixos/systemd-networkd: wait for udev to settlexeji2018-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... to avoid race condition between udevd renaming and networkd configuring interfaces (39069)
* | | | | | | | | | | | | nixos/tests/predictable-interface-names: Refactoraszlig2018-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Nix expression here is really hard to read with multiple (and unnecessarily) nested lets and it also generates attribute names based on the derivation generated by makeTest, which will result in these attribute names: * vm-test-run-predictableInterfaceNames * vm-test-run-predictableInterfaceNames-with-networkd * vm-test-run-unpredictableInterfaceNames * vm-test-run-unpredictableInterfaceNames-with-networkd With the refactor the attribute names are now: * predictable * predictableNetworkd * unpredictable * unpredictableNetworkd So now the code is even shorter and IMHO slightly more readable. Signed-off-by: aszlig <aszlig@nix.build> Cc: @symphorien, @fpletz, @adisbladis
* | | | | | | | | | | | | Merge pull request #39137 from peterhoeg/m/lcdPeter Hoeg2018-04-28
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | nixos lcdproc: module for lcdd/lcdproc
| * | | | | | | | | | | | | nixos lcdproc: module for lcdd/lcdprocPeter Hoeg2018-04-25
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | linux-copperhead: Fix testTim Steinbach2018-04-28
| |_|_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | nixos/tests/chromium: Wait 10s after new windowaszlig2018-04-28
| |_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a very very very ugly workaround and it's because Chromium seems to eat keystroke for a few seconds after a new window is created. I haven't found a better solution yet, so let's at least unbreak the test until we come up with a better way. Thanks to @vcunat for bringing this to my attention and also doing the initial bisect. The change that brought up this problem was 2b29e401531306d044f797a5dfa, which updated Chromium from version 65.0.3325.181 to version 66.0.3359.117. Unfortunately the upstream changelog[1] is way too large to actually guess what the breaking change is. [1]: https://chromium.googlesource.com/chromium/src/+log/65.0.3325.181..66.0.3359.117?pretty=fuller&n=10000 Signed-off-by: aszlig <aszlig@nix.build> Cc: @bendlas, @vcunat
* | | | | | | | | | | | Merge pull request #39612 from bgamari/cupsd-loglevelJörg Thalheim2018-04-28
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | cupsd: Introduce services.printing.logLevel option
| * | | | | | | | | | | | nixos/cupsd: Introduce services.printing.logLevel optionBen Gamari2018-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we indirectly suggested that the user use services.printing.extraConf to set this, but this doesn't work with the default merge ordering. Fix this by making it an independent option. Fixes #39611.
* | | | | | | | | | | | | nixos/qemu-vm: Always add a virtio RNG device to the questTuomas Tynkkynen2018-04-28
| |_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mke2fs has this annoying property that it uses getrandom() to get random numbers (for whatever purposes) which blocks until the kernel's secure RNG has sufficient entropy, which it usually doesn't in the early boot (except if your CPU supports RDRAND) where we may need to create the root disk. So let's give the VM a virtio RNG to avoid the boot getting stuck at mke2fs.
* | | | | | | | | | | | Merge pull request #31418 from ryantm/doc-nixos-extra-module-pathGraham Christensen2018-04-27
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | lib/eval-config: document NIXOS_EXTRA_MODULE_PATH
| * | | | | | | | | | | | lib/eval-config: document NIXOS_EXTRA_MODULE_PATHRyan Mulligan2018-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds some documentation about importing modules external to Nixpkgs, which provides context for documenting NIXOS_EXTRA_MODULE_PATH. Closes #30376
* | | | | | | | | | | | | Merge pull request #39617 from Mic92/nixos-generate-configSarah Brofeldt2018-04-28
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | nixos/nixos-generate-config: update search command
| * | | | | | | | | | | | | nixos/nixos-generate-config: update search commandJörg Thalheim2018-04-27
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #39459 from oxij/nixos/isolinuxMatthew Justin Bauer2018-04-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nixos: installer: cleanup a bit
| * | | | | | | | | | | | | | nixos: installer: cleanup a bitJan Malakhovski2018-04-25
| | |_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | unifi, nixos/unifi: support LTS (5.6.36) and release (5.7.20)Badi Abdul-Wahid2018-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ubiquiti has both a LTS and current version of their Unifi controller software. The latter adds new features, but may drop support for some devices. This adds the capability to use either for the unifi module but defaults to the LTS version, which was the previous behavior.
* | | | | | | | | | | | | | Merge pull request #39613 from bgamari/networkd-requiredforonlineJörg Thalheim2018-04-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | networkd: Allow RequiredForOnline field in [Link] section
| * | | | | | | | | | | | | | nixos/networkd: Allow RequiredForOnline field in [Link] sectionBen Gamari2018-04-27
| | |_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was previously missing.
* | | | | | | | | | | | | | nixos/xserver: remove nvidiaLegacy173 from videoDrivers.examplesJörg Thalheim2018-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | see https://github.com/NixOS/nixpkgs/commit/92265e807e60fac8bbf3c08a82715b575b5e4e7e#commitcomment-28773179
* | | | | | | | | | | | | | Merge pull request #39431 from fdietze/patch-1xeji2018-04-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nixos manual: Fix typo in Syntax Summary
| * | | | | | | | | | | | | | nixos manual: Fix typo in Syntax SummaryFelix Dietze2018-04-24
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #39008 from serokell/youtrackYegor Timoshenko2018-04-27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Youtrack package and service
| * | | | | | | | | | | | | | youtrack: add serviceYorick van Pelt2018-04-27
| | | | | | | | | | | | | | |