summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* lidarr: init at 0.3.1.471Elis Hirwing2018-09-29
| | | | Fork of sonarr (as radarr) but for music instead of series and movies.
* Merge pull request #46607 from rembo10/sickbeardMatthew Bauer2018-09-29
|\ | | | | Sickbeard/Sickgear/Sickrage: Init and module
| * Add sickbeard module (with SickGear & SickRage)rembo102018-09-16
| |
* | Merge pull request #47473 from arianvp/imperative-doc-fixJörg Thalheim2018-09-29
|\ \ | | | | | | doc: Update section about imperative containers
| * | doc: Update section about imperative containersArian van Putten2018-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Nix commands inside the container have been broken since 18.03, and no fix is yet in sight. Lets remove from the documentation that this is a usecase that we support, as it doesn't seem likely that this will be fixed before 18.09 either. See #40355
* | | nixos/zsh: use `escapeShelLArg' for shell aliases (#47471)Maximilian Bosch2018-09-28
| | | | | | | | | | | | | | | | | | | | | | | | Previously single quotes were used by default for aliases and the module never warned about possible collisions when having a shell alias which relies on single quotes. Adding `escapeShellArg` works around this fixes the issue and ensures that a properly quoted value is written to `/etc/zshrc`.
* | | Merge pull request #47449 from griff/remove-rspamd-socket-activationxeji2018-09-28
|\ \ \ | | | | | | | | nixos/rspamd: Remove non-working socket activation
| * | | nixos/rspamd: Remove non-working socket activationBrian Olsen2018-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The socket activation I added to the rspamd module doesn't actually work and can't be made to work without changes to rspamd. See: #47421 See: rspamd/rspamd#2035
* | | | nixos/kexec: Fix typo in meta.platformsaszlig2018-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluation error introduced in 599c4df46a90c7415a6cc0689f0b23d22e7fdb67. There is only a "platformS" attribute in kexectools.meta, so let's use this and from the code in the kexec module it operates on a list, matching the corresponding platforms, so this seems to be the attribute the original author intended. Tested by building nixos/tests/kexec.nix on x86_64-linux and while it evaluates now, the test still fails by timing out shortly after the kexec: machine: waiting for the VM to finish booting machine# Cannot find the ESP partition mount point. This however seems to be an unrelated issue and was also the case before the commit mentioned above. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra, @dezgeg
* | | | nixos/kexec: Replace meta.available checksTuomas Tynkkynen2018-09-28
| |/ / |/| | | | | | | | | | | This sort of code breaks config.{allowBroken, allowUnsupportedSystem} = true by making them do unpredictable things.
* | | Merge pull request #47462 from Mic92/fix-logind-user-tempJörg Thalheim2018-09-28
|\ \ \ | | | | | | | | systemd: don't restart user-runtime-dir@ on upgrades
| * | | systemd: don't restart user-runtime-dir@ on upgradesJörg Thalheim2018-09-28
| |/ / | | | | | | | | | | | | Likewise logind we should not try to restart this service after upgrade, the user's current session depends on it.
* / / Add ssh backdoor to VM tests infrastructure.Tuomas Tynkkynen2018-09-28
|/ / | | | | | | | | Thanks to @dezgeg for prototype implementation, I've cleaned it up and added documentation.
* | Merge pull request #35690 from griff/rspamd-socketruntimeJörg Thalheim2018-09-27
|\ \ | | | | | | nixos/rspamd: Preserve runtime directory when using socket activation
| * | nixos/rspamd: Preserve runtime directory when using socket activationBrian Olsen2018-02-26
| | |
* | | shairport-sync: fix pulseaudio support & default argumentsFranz Pletz2018-09-26
| | |
* | | postgresql: give postgres user a shellDomen Kožar2018-09-26
| | |
* | | google-compute-engine: 20180510 -> 20180905zimbatm2018-09-26
| | | | | | | | | | | | The list of corresponding NixOS services are also updated
* | | Merge reording asserts in NixOS eval (#47293)aszlig2018-09-26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the evaluation order in that it evaluates assertions before warnings, so that eg. the following would work: { config, lib, ... }: { options.foo = lib.mkOption { type = lib.types.bool; default = true; description = "..."; }; options.bar = lib.mkOption { type = lib.types.bool; default = false; description = "..."; }; config = lib.mkMerge [ (lib.mkIf config.bar { system.build.bar = "foobar"; }) (lib.mkIf config.foo { assertions = lib.singleton { assertion = config.bar; message = "Bar needs to be enabled"; }; systemd.services.foo = { description = "Foo"; serviceConfig.ExecStart = config.system.build.bar; }; }) ]; } This is because the systemd module includes definitions for warnings that would trigger evaluation of the config.system.build.bar definition. The original pull request references a breakage due to the following: { services.nixosManual.enable = false; services.nixosManual.showManual = true; } However, changing the eval order between asserts and warnings clearly is a corner case here and it only happens because of the aforementioned usage of warnings in the systemd module and needs more discussion. Nevertheless, this is still useful because it lowers the evaluation time whenever an assertion is hit, which is a hard failure anyway.
| * | | nixos: top-level: indentJan Malakhovski2018-09-24
| | | |
| * | | nixos: top-level: evaluate assertions before warningsJan Malakhovski2018-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or else at least the following config will fail with an evaluation error instead of an assert ``` { services.nixosManual.enable = false; services.nixosManual.showManual = true; } ```
* | | | nixos: Fix eval error for documentation.nixosaszlig2018-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced by 0f3b89bbedc1a33cc1fc3c142e235da2c64614c3. If services.nixosManual.showManual is enabled and documentation.nixos.enable is not, there is no config.system.build.manual available, so evaluation fails. For example this is the case for the installer tests. There is however an assertion which should catch exactly this, but it isn't thrown because the usage of config.system.build.manual is evaluated earlier than the assertions. So I split the assertion off into a separate mkIf to make sure it is shown appropriately and also fixed the installation-device profile to enable documentation.nixos. Signed-off-by: aszlig <aszlig@nix.build> Cc: @oxij
* | | | rabbitmq module: modernize after package upgradeAlexey Lebedeff2018-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use socket-activated epmd - that way there won't be any trouble when more than one erlang system is used within a single host. - Use new automation-friendly configuration file format - Use systemd notifications instead of buggy 'rabbitmqctl wait' for confirming successful server startup. 'wait' bug: https://github.com/rabbitmq/rabbitmq-server/issues/463 - Use 'rabbitmqctl shutdown' instead of 'stop', because it's not pid-file based - Use sane systemd unit defaults from RabbitMQ repo: https://github.com/rabbitmq/rabbitmq-server/blob/master/docs/rabbitmq-server.service.example - Support for external plugins
* | | | rabbitmq-server: 3.6.10 -> 3.7.8Alexey Lebedeff2018-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New dependency on 'getconf' binary for https://github.com/rabbitmq/rabbitmq-common/blob/3aa619e9ef81cfe6db0c776e6cd829ce234a7881/src/vm_memory_monitor.erl#L448 - New dependency on 'socat' for systemd notifications https://github.com/rabbitmq/rabbitmq-server/blob/4a3ee3a336bc82f2e56ec5d2292c80458ccc2974/src/rabbit.erl#L361 - elixir_1_6 for a new 'rabbitmqctl' tool - Replace patching with providing custom PATH, as we already have some other things here - Renamed package in all-packages.nix from a legacy spelling
* | | | Revert "virtualization/qemu-vm: fix and improve virtio/scsi switching"Sarah Brofeldt2018-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f777d2b719be0db4cb7819d5b6dbdd121db29a37. cc #34409 This breaks evaluation of the tested job: attribute 'diskInterface' missing, at /nix/store/5k9kk52bv6zsvsyyvpxhm8xmwyn2yjvx-source/pkgs/build-support/vm/default.nix:316:24
* | | | Merge pull request #47298 from oxij/nixos/doc-in-installerMichael Raskin2018-09-25
|\ \ \ \ | | | | | | | | | | nixos: fix fallout from #46193
| * | | | nixos: doc: fix minimal profile and installer configsJan Malakhovski2018-09-24
| | | | |
| * | | | nixos: doc: nixos-manual: fix assertJan Malakhovski2018-09-24
| |/ / /
* | | | nixos/gitlab: rebuild authorized_keys during preStartWilliButz2018-09-25
| | | | | | | | | | | | | | | | | | | | This updates the path to the 'gitlab-shell' to the correct store path when gitlab is restarted.
* | | | gitlab module: workhorse may start before gitlabRobin Gloster2018-09-25
| | | |
* | | | nixos/gitlab: avoid creating recursive symlinks, add gitlab-rake depsKristoffer Thømt Ravneberg2018-09-25
| | | |
* | | | Merge pull request #47296 from matthewbauer/closure-size-reductionsxeji2018-09-24
|\ \ \ \ | | | | | | | | | | ISO/OVA closure size reductions
| * | | | nixos: don’t enableQt4Support for installer profileMatthew Bauer2018-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is already done in installer/cd-dvd/installation-cd-graphical-kde.nix but not in profiles/graphical.nix. Related to #47256.
* | | | | nixos/chrony: clean up, rework to be a little closer to upstreamAustin Seipp2018-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most importantly, this sets PrivateTmp, ProtectHome, and ProtectSystem so that Chrony flaws are mitigated, should they occur. Moving to ProtectSystem=full however, requires moving the chrony key files under /var/lib/chrony -- which should be fine, anyway. This also ensures ConditionCapability=CAP_SYS_TIME is set, ensuring that chronyd will only be launched in an environment where such a capability can be granted. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* | | | | Merge pull request #47289 from 1000101/masterMichael Raskin2018-09-24
|\ \ \ \ \ | | | | | | | | | | | | trezord: 2.0.14 -> 2.0.19 and nixos/trezord: revised and updated udev rules
| * | | | | nixos/trezord: revised and updated udev rules10001012018-09-24
| | | | | | | | | | | | | | | | | | | | | | | | nixos/trezord: revised and updated udev rules
* | | | | | nixos tests: move common configuration into separate fileDomen Kožar2018-09-24
|/ / / / / | | | | | | | | | | | | | | | This allows tests outside nixos to use acme setup.
* | | | | Merge pull request #47155 from xeji/p/installer-testsxeji2018-09-24
|\ \ \ \ \ | | | | | | | | | | | | nixos/tests/installer: prevent race between parted and udev
| * | | | | nixos/tests/installer: stop udev queue before calling mdadmUli Baum2018-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the swraid test, temporarily stop udev queue execution while creating mdraid devices to prevent a race with udev, see https://groups.google.com/forum/#!topic/scylladb-dev/u87yHgo3ylU
| * | | | | nixos/tests/installer: use flock for all parted callsUli Baum2018-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to further reduce risk of race with udev, like util-linux recommends for sfdisk: https://github.com/karelzak/util-linux/blob/v2.32/disk-utils/sfdisk.8#L71
| * | | | | nixos/tests/installer: prevent race between parted and udevUli Baum2018-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by combining all parted commands into a single parted call. This eliminates one cause of non-deterministic failure.
* | | | | | nixos/tests/hound: fix non-deterministic failure (#47152)xeji2018-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test failed on Hydra in one instance because a request to the server was sent before indexing was finished. Retry the request until it succeeds (or times out).
* | | | | | nixos: initrd/luks: make uuid specified devices discoverableEdward Tjörnhammar2018-09-24
| | | | | |
* | | | | | Merge pull request #34409 from steveeJ/steveej-qemu-vm-fixesJörg Thalheim2018-09-24
|\ \ \ \ \ \ | | | | | | | | | | | | | | qemu-vm: fix script syntax and VM args
| * | | | | | virtualization/qemu-vm: fix and improve virtio/scsi switchingStefan Junker2018-09-22
| | | | | | |
* | | | | | | Revert "nixos: set nixos in nixPath"Eelco Dolstra2018-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 67c8c4917799496dcf2ad6a500441fbbaeb918c9. 'nix run nixos.firefox' is *not* supposed to work - the Nix 2.x interface attempts to standardize on nixpkgs.*, to get rid of the nixos/nixpkgs confusion that existed with the channels interface. So let's not bring that confusion back.
* | | | | | | Merge pull request #46193 from oxij/nixos/manual-to-docSamuel Dionne-Riel2018-09-24
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | nixos: doc: implement #12542
| * | | | | | nixos: doc: move non-service parts of `service.nixosManual` to ↵Jan Malakhovski2018-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `documentation.nixos`
| * | | | | | nixos: doc: rename `manual` to `manualHTML`, cleanup referencesJan Malakhovski2018-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because when I see "config.system.build.manual.manual" after I forgot what it means I ask "Why do I need that second `.manual` there again?". Doesn't happen with `config.system.build.manual.manualHTML`.
* | | | | | | Merge pull request #47180 from avnik/fix/rmilterJörg Thalheim2018-09-24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix rmilter socket path, add deprecation notice