summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* Merge pull request #54726 from etu/nixos-sks-db-configElis Hirwing2019-01-28
|\ | | | | nixos/sks: Add option to configure database settings
| * nixos/sks: Add option to configure database settingsElis Hirwing2019-01-28
| | | | | | | | This can be used for options to tweak the behavior around the database.
* | Merge pull request #53419 from uvNikita/containers/fix-bridgeFlorian Klink2019-01-28
|\ \ | |/ |/| nixos/containers: add bridge without address specified
| * nixos/containers: add bridge without address specifiedNikita Uvarov2019-01-07
| | | | | | | | | | | | According to systemd-nspawn(1), --network-bridge implies --network-veth, and --port option is supported only when private networking is enabled. Fixes #52417.
* | Merge pull request #42838 from teto/kernel_autoconfSilvan Mosberger2019-01-28
|\ \ | | | | | | [RFC] add ability to merge structured configs
| * | linux: ability to merge structured configsMatthieu Coudron2019-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should make the composability of kernel configurations more straigthforward. - now distinguish freeform options from tristate ones - will look for a structured config in kernelPatches too one can now access the structuredConfig from a kernel via linux_test.configfile.structuredConfig in order to reinject it into another kernel, no need to rewrite the config from scratch The following merge strategies are used in case of conflict: -- freeform items must be equal or they conflict (mergeEqualOption) -- for tristate (y/m/n) entries, I use the mergeAnswer strategy which takes the best available value, "best" being defined by the user (by default "y" > "m" > "n", e.g. if one entry is both marked "y" and "n", "y" wins) -- if one item is both marked optional/mandatory, mandatory wins (mergeFalseByDefault)
* | | nixos/systemd: add StartLimitIntervalSec to unit configCraig Younkins2019-01-28
|/ /
* | Merge pull request #54519 from devhell/modify_ngc.plGraham Christensen2019-01-27
|\ \ | | | | | | nixos-generate-config: Include extraGroups "wheel"
| * | nixos-generate-config: Include extraGroups "wheel"devhell2019-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been asked, on numerous occasions, by my students and others, how to 'sudo' on NixOS. Of course new users could read up in the manual on how to do that, or we could make it more accessible for them by simply making it visible in the default `configuration.nix` file. Additionally, as raised in [1], replacing `guest` with something more recognizable could be potentially beneficial to new users. I've opted for `jane` for now. [1]: https://github.com/NixOS/nixpkgs/pull/54519#issuecomment-457012223
* | | nixos/pulseaudio: disable flat-volumes by defaultworldofpeace2019-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this is that some applications are unaware of this feature and can set their volume to 100% on startup harming people ears and possiblly blowing someone's audio setup. I noticed this in #54594 and by extension epiphany[0]. Please also note that many other distros have this default for the reason outlined above. Closes #5632 #54594 [0]: https://bugzilla.gnome.org/show_bug.cgi?id=675217
* | | Merge pull request #54659 from matthewbauer/doc-fixesMatthew Bauer2019-01-27
|\ \ \ | | | | | | | | Nixpkgs documentation additions for 19.03
| * | | nixos/manual: use default bs valueMatthew Bauer2019-01-26
| | | | | | | | | | | | | | | | | | | | Apparently this is a little slower but much safer & not prone to potential argument errors.
* | | | Merge pull request #54708 from erictapen/unifi-maintainerSilvan Mosberger2019-01-27
|\ \ \ \ | | | | | | | | | | unifi, nixos/unifi: add erictapen as maintainer
| * | | | unifi, nixos/unifi: add erictapen as maintainerJustin Humm2019-01-27
| | | | |
* | | | | nixos/wpa_supplicant: escape interface names to listen onMaximilian Bosch2019-01-27
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Systemd provides some functionality to escape strings that are supposed to be part of a unit name[1]. This seems to be used for interface names in `sys-subsystem-net-devices-{interface}.device` and breaks wpa_supplicant if the wireless interface name has a dash which is encoded to \x2d. Such an interface name is rather rare, but used i.e. when configuring multiple wireless interfaces with `networking.wlanInterfaces`[2] to have on interface for `wpa_supplicant` and another one for `hostapd`. [1] https://www.freedesktop.org/software/systemd/man/systemd-escape.html [2] https://nixos.org/nixos/options.html#networking.wlaninterfaces
* | | | Merge pull request #54619 from Mic92/remove-wkenningtonJörg Thalheim2019-01-26
|\ \ \ \ | | | | | | | | | | treewide: remove wkennington as maintainer
| * | | | treewide: remove wkennington as maintainerJörg Thalheim2019-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | He prefers to contribute to his own nixpkgs fork triton. Since he is still marked as maintainer in many packages this leaves the wrong impression he still maintains those.
* | | | | postgresql: cleanup postgis (#54396)Danylo Hlynskyi2019-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | postgis: cleanup Another part of https://github.com/NixOS/nixpkgs/pull/38698, though I did cleanup even more. Moving docs to separate output should save another 30MB. I did pin poppler to 0.61 just to be sure GDAL doesn't break again next time poppler changes internal APIs.
* | | | | postgresql: reorganize package and its extensions (#54319)Danylo Hlynskyi2019-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * postgresql: reorganize package and it's extensions Extracts some useful parts of https://github.com/NixOS/nixpkgs/pull/38698, in particular, it's vision that postgresql plugins should be namespaced.
* | | | | Merge pull request #54600 from volth/patch-301Jörg Thalheim2019-01-26
|\ \ \ \ \ | |/ / / / |/| | | | nixos/collectd: restart on failure
| * | | | nixos/collectd: restart on failurevolth2019-01-26
| | | | | | | | | | | | | | | | | | | | `collectd' might fail because of a failure in any of numerous plugins. For example `virt' plugin sometimes fails if `collectd' is started before `libvirtd'
* | | | | nixos/prosody: add ExecReloadMilan Pässler2019-01-26
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an ExecReload command to the prosody service, to allow reloading prosody by sending SIGHUP to the main process, for example to update certificates without restarting the server. This is exactly how the `prosodyctl` tool does it. Note: Currently there is a bug which prevents mod_http from reloading the certificates properly: https://issues.prosody.im/1216.
* | | | Merge pull request #53511 from joachifm/kernel-32bit-emu-feature-flagJoachim F2019-01-25
|\ \ \ \ | | | | | | | | | | linux: flag to indicate 32bit emulation support
| * | | | nixos/opengl: assert 32bit emu support if 32bit support is enabledJoachim Fasting2019-01-06
| | | | | | | | | | | | | | | | | | | | See https://github.com/NixOS/nixpkgs/issues/51097
* | | | | nixos/jackett: Add test for jackett to ensure startupElis Hirwing2019-01-25
| | | | |
* | | | | nixos/lidarr: Add test for lidarr to ensure startupElis Hirwing2019-01-25
| | | | |
* | | | | nixos/radarr: Add test for radarr to ensure startupElis Hirwing2019-01-25
| | | | |
* | | | | nixos/sonarr: Add test for sonarr to ensure startupElis Hirwing2019-01-25
| |/ / / |/| | |
* | | | nixos/mysql: Support bootstrapping a Galera clusterJanne Heß2019-01-24
| | | | | | | | | | | | | | | | | | | | | | | | The default galera_new_cluster script tries to set this environment variable using systemctl set-environment which doesn't work if the variable is not being used in the unit file ;)
* | | | Merge pull request #53702 from aanderse/apache-ssl-optJohn Wiegley2019-01-23
|\ \ \ \ | | | | | | | | | | nixos/httpd: add options sslCiphers & sslProtocols
| * | | | nixos/httpd: add options sslCiphers & sslProtocolsAaron Andersen2019-01-09
| | | | |
* | | | | Merge pull request #48153 from Ma27/fix-nixos-option-for-invalid-optionsDanylo Hlynskyi2019-01-24
|\ \ \ \ \ | | | | | | | | | | | | nixos-option: don't abort with shell failures if options are not existant
| * | | | | nixos-option: prune backtick from outputDanylo Hlynskyi2019-01-24
| | | | | | | | | | | | | | | | | | It doesn't work good with double-click selection in terminal (it gets into selection buffer of some terminals)
| * | | | | nixos-option: don't abort with shell failures if options are not existantMaximilian Bosch2018-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nixos-option` basically handles two cases: the given option is either a valid option defined using `mkOption` or an attribute set which contains a set of options. If none of the above cases is valid, `$1` is invalid. Unfortunatley the script interpreted invalid options as an attribute set which rendered shell failures when trying to evaluate the arguments. First of all, `if names=$(attrNames ...)` resulted in `<PRIMOP>` as `attrNames` simply evaluated `builtins.attrNames $result` which results in a non-applied function with `$result` being empty. Trying to map over this string using `nixMap` while applying `escapeQuotes` causes the bash error as `eval echo "<PRIMOP>"` is invalid syntax. Explicitly checking if `$result' contains a value (do we have an attribute set?) and otherwise returning a warning and asking if $option exists fixes the problem. Fixes #48060
* | | | | | Add options to build disk image function (#50239)Travis Athougies2019-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add options to build disk image function * Revert suffix changes
* | | | | | Merge pull request #54514 from LeOtaku/fix/restic-timer-configSilvan Mosberger2019-01-24
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/restic: change type of timerConfig option
| * | | | | | nixos/restic: change type of timerConfig option to attrsOf unitOptionLeOtaku2019-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for correctly passing the option to "systemd.timer"
* | | | | | | Merge pull request #53986 from Ma27/document-dovecot-prometheus-exporter-issuesSilvan Mosberger2019-01-24
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | nixos/prometheus-dovecot-exporter: enhance `socketPath` documentation
| * | | | | | nixos/prometheus-dovecot-exporter: enhance `socketPath` documentationMaximilian Bosch2019-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Dovecot 2.3[1] the stats module changed and now the UNIX socket provided by Dovecot by default isn't compatible anymore with the exporter[2]. By enabling the `old-stats` plugin in Dovecot this issue can be solved which should be documented in this module. [1] https://wiki2.dovecot.org/Upgrading/2.3 [2] https://github.com/kumina/dovecot_exporter/issues/8
* | | | | | | nixos/plex: allow access to hardware acceleration librariesPascal Bach2019-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CUDA and OpenCL libraries are located in /run/opengldriver/lib and Plex can make use of them if available.
* | | | | | | Merge pull request #54310 from Mic92/postgresq-backupSilvan Mosberger2019-01-23
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | nixos/postgresqlBackup: add backupAll option
| * | | | | | nixos/postgresqlBackup: add backupAll optionJörg Thalheim2019-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For large setups it is useful to list all databases explicit (for example if temporary databases are also present) and store them in extra files. For smaller setups it is more convenient to just backup all databases at once, because it is easy to forget to update configuration when adding/renaming databases. pg_dumpall also has the advantage that it backups users/passwords. As a result the module becomes easier to use because it is sufficient in the default case to just set one option (services.postgresqlBackup.enable).
* | | | | | | Merge pull request #52991 from danbst/zram-zstdDanylo Hlynskyi2019-01-23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | zramSwap: allow configure compression algorithm + cleanups
| * | | | | | | zramSwap: remove basic.target for zram devicesdanbst2019-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates a dependency cycle when used with boot.tmpOnTmpfs: basic.target <- tmp.mount <- swap.target <- zram-init-dev0 <- basic.target This same fix is done already for tmp.mount Fixes https://github.com/NixOS/nixpkgs/issues/47474
| * | | | | | | zramSwap: allow configure compression algorithm + cleanupsdanbst2019-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add `zramSwap.algorithm` option, which allows to change compressor declaratively. zstd as default - add `zramSwap.swapDevices` option, which allows to define how many zram devices will be used as swap. Rest devices can be managed freely - simpler floating calculations - fix udev race condition - some documentation changes - replaced `/sys/block/zram*` handling with `zramctl`, because I had occasional "Device is busy" error (looks like zram has to be configured in predefined order) - added `memoryPercent` and `algorithm` as restart triggers. I think, it was a bug that changing `memoryPercent` in configuration wasn't applied immediately. - removed a bind to .swap device. While it looks natural (when swap device goes off, so should zram device), it wasn't implemented properly. This caused problems with swapon/swapoff: ``` $ cat /proc/swaps Filename Type Size Used Priority /dev/zram0 partition 8166024 0 -2 /var/swapfile file 5119996 5120 1 $ sudo swapoff -a $ sudo swapon -a swapon: /dev/zram0: read swap header failed $ cat /proc/swaps Filename Type Size Used Priority /var/swapfile file 5119996 0 1 ```
* | | | | | | | Merge pull request #54416 from Mic92/telegrafJörg Thalheim2019-01-22
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | telegraf: 1.7.0 -> 1.9.2
| * | | | | | | | nixos/telegraf: add testJörg Thalheim2019-01-21
| | | | | | | | |
* | | | | | | | | Merge pull request #54113 from telotortium/xrdp-clipboard-fixJörg Thalheim2019-01-22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | xrdp: fix clipboard for non-ASCII characters
| * | | | | | | | | xrdp: fix clipboard for non-ASCII charactersRobert Irelan2019-01-22
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this line, attempting to copy and paste non-ASCII characters will result in error messages like the following (and pasting from the server to the client will not work): ``` CLIPBOARD clipboard_send_data_response_for_text: 823 : ERROR: clipboard_send_data_response_for_text: bad string ```
* | | | | | | | | Merge pull request #54197 from dermetfan/fix/nixos-mysqlSilvan Mosberger2019-01-22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | nixos/mysql: fix option `ensureDatabases`