summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* nixos/test-driver: fix wording in error message about invalid node namesMaximilian Bosch2018-12-18
| | | | | | | Since 113a6b9325b92d483e6c2f12c35c2887ab175a8d the test driver explicitly ensures if the node names won't break the resulting Perl script at runtime. This slightly improves the correctness of the error message.
* Merge pull request #52485 from pablode/masterMaximilian Bosch2018-12-18
|\ | | | | nixos/oh-my-zsh: fix wrong manual information
| * nixos/oh-my-zsh: fix wrong manual informationPablo Delgado Krämer2018-12-18
| | | | | | | | Manual still refers to 'programs.ohMyZsh' although it should be 'programs.zsh.ohMyZsh'.
* | Merge pull request #52458 from tadfisher/emacs-bash-promptJörg Thalheim2018-12-18
|\ \ | | | | | | nixos/bash: Fix prompt regression in Emacs term mode
| * | nixos/bash: Fix prompt regression in Emacs term modeTad Fisher2018-12-17
| | |
* | | Merge pull request #47297 from greydot/bladerfmarkuskowa2018-12-18
|\ \ \ | | | | | | | | Introduce hardware/bladeRF module
| * | | nixos/hardware/bladeRF: init at 2.0.2Lana Black2018-12-18
| | | | | | | | | | | | | | | | | | | | This allows to easily enable bladerf-related udev rules with nixos configuration.
* | | | Merge pull request #46806 from ↵Franz Pletz2018-12-18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Ma27/disallow-dash-separators-in-machine-declarations nixos/testing: disallow special chars in machine names in network expressions
| * | | | nixos/testing: disallow special chars in machine names in network expressionsMaximilian Bosch2018-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These names are referenced by Perl variables inside the testing frameworks which don't allow chars like `-` as character inside. An exemplary expression may look like this: ``` { x11-vm = { services.xserver.enable = true; }; } ``` This expression evaluates, e.g. when running `nixos-build-vms`, but when trying to run `./result/bin/nixos-run-vms`, an error like this occurs: ``` starting VDE switch for network 1 running the VM test script error: Can't modify subtraction (-) in scalar assignment at (eval 17) line 1, at EOF Bareword "test" not allowed while "strict subs" in use at (eval 17) line 1. Can't modify subtraction (-) in scalar assignment at (eval 17) line 1, at EOF Bareword "test" not allowed while "strict subs" in use at (eval 17) line 1. vde_switch: EOF on stdin, cleaning up and exiting cleaning up ``` This can be very confusing for beginners, this change breaks evaluation if such names are used for machines.
* | | | | Merge pull request #51397 from samueldr/feature/aarch64-uefiSamuel Dionne-Riel2018-12-17
|\ \ \ \ \ | | | | | | | | | | | | installer: Adds AArch64 UEFI installer support. (Work towards SBBR and EBBR support)
| * | | | | installer: Adds AArch64 UEFI installer support.Samuel Dionne-Riel2018-12-12
| | | | | |
* | | | | | nixos: add XDG sounds moduleMichael Peyton Jones2018-12-18
| | | | | |
* | | | | | Merge pull request #51520 from michaelpj/imp/appstreamJan Tojnar2018-12-18
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | nixos: add AppStream module
| * | | | | nixos: add AppStream moduleMichael Peyton Jones2018-12-04
| | | | | |
* | | | | | Revert "nixos/tests: add clamav test"Franz Pletz2018-12-17
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6433f3b13b11c403065b86d43bb1d3ccceba6b71. Fixes #52446.
* | | | | Merge pull request #52168 from cdepillabout/add-bluezFull-packageSilvan Mosberger2018-12-17
|\ \ \ \ \ | | | | | | | | | | | | Add bluez full package
| * | | | | Add explanation of using the bluezFull package in nixos documentation.(cdep)illabout2018-12-15
| | | | | |
* | | | | | prosody service: set cafileSatoshi Shishiku2018-12-17
| | | | | | | | | | | | | | | | | | | | | | | | Fix s2s_secure_auth.
* | | | | | gitlab: run test with 4096 bits if on 64bit, else the the maximum for 32bitFlorian Klink2018-12-16
| | | | | |
* | | | | | nixos/tests: add clamav testFranz Pletz2018-12-16
| | | | | |
* | | | | | owncloud: remove serverFlorian Klink2018-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkgs.owncloud still pointed to owncloud 7.0.15 (from May 13 2016) Last owncloud server update in nixpkgs was in Jun 2016. At the same time Nextcloud forked away from it, indicating users switched over to that. cc @matej (original maintainer)
* | | | | | apache-httpd/limesurvey.nix: fix copypasta from owncloudFlorian Klink2018-12-16
| | | | | |
* | | | | | nixos/kubernetes: don't enable all alpha feature gates for the test casesJohan Thomsen2018-12-16
| | | | | |
* | | | | | Merge pull request #51053 from Ma27/draft-nextcloud-module-docsFlorian Klink2018-12-16
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/nextcloud: add basic module documentation and warn about current upgrading issues
| * | | | | | nixos/nextcloud: add basic module documentation and warn about current ↵Maximilian Bosch2018-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upgrading issues Part of #49783. NextCloud tracks in its `config.php` the application's state which makes it hard for the module to modify configurations during upgrades. It will take time until the issue is properly fixed, therefore we decided to warn about this in the manual. This PR addresses two things: * Adding a basic example for nextcloud. I figured it to be helpful to add some basic usage instructions when adding a new manual entry. Advanced documentation may follow later. For now this document actively links to the service options, so users are guided to the remaining options that can be helpful in certain cases. * Add a warning about upgrades and manual changes in `/var/lib/nextcloud`. This will be fixed in the future, but it's definetely helpful to document the current issues in the manual (as proposed in https://github.com/NixOS/nixpkgs/issues/49783#issuecomment-439691127).
* | | | | | | nixos/nm-setup-hostsdir: RemainAfterExist -> RemainAfterExitRickard Nilsson2018-12-15
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #51624 from dasJ/slapd-logFlorian Klink2018-12-14
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/openldap: Support configuring the log level
| * | | | | | nixos/openldap: Support configuring the log levelJanne Heß2018-12-13
| | | | | | |
* | | | | | | nixos/lightdm: Fix spelling of option in docsElis Hirwing2018-12-13
| | | | | | |
* | | | | | | nixos/sddm: Fix spelling of option in docsElis Hirwing2018-12-13
|/ / / / / /
* | | | | | Merge pull request #51922 from hedning/fix-xmonad-testRenaud2018-12-13
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/tests/xmonad: fix terminal title
| * | | | | | nixos/tests/xmonad: fix terminal titleTor Hedin Brønner2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bash now sets a different title.
* | | | | | | Merge pull request #51938 from johanot/nixos-kubernetes-test-fixSarah Brofeldt2018-12-13
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/kubernetes: fix import path of default nixpkgs
| * | | | | | | nixos/kubernetes: fix import path of default nixpkgsJohan Thomsen2018-12-12
| | | | | | | |
* | | | | | | | Merge pull request #50316 from arianvp/fix-dynamic-userJörg Thalheim2018-12-12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Disable nscd caching
| * | | | | | | | nixos/nscd: Add a descriptive comment to the nscd configurationArian van Putten2018-12-12
| | | | | | | | |
| * | | | | | | | nixos/nscd: Address doc feedbackArian van Putten2018-12-12
| | | | | | | | |
| * | | | | | | | nixos/nscd: also add netgroup to the configArian van Putten2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was the last database that wasn't listed.
| * | | | | | | | nixos/nscd: Merge nscd and sssd-nscd configArian van Putten2018-12-12
| | | | | | | | |
| * | | | | | | | nixos/nscd: Add release note entry about nscd changesArian van Putten2018-12-12
| | | | | | | | |
| * | | | | | | | nixos/nscd: Disable negative caching of hostsArian van Putten2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully fixes #50290
| * | | | | | | | nixos/nscd: Disable caching of group and passwdArian van Putten2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Systemd provides an option for allocating DynamicUsers which we want to use in NixOS to harden service configuration. However, we discovered that the user wasn't allocated properly for services. After some digging this turned out to be, of course, a cache inconsistency problem. When a DynamicUser creation is performed, Systemd check beforehand whether the requested user already exists statically. If it does, it bails out. If it doesn't, systemd continues with allocating the user. However, by checking whether the user exists, nscd will store the fact that the user does not exist in it's negative cache. When the service tries to lookup what user is associated to its uid (By calling whoami, for example), it will try to consult libnss_systemd.so However this will read from the cache and tell report that the user doesn't exist, and thus will return that there is no user associated with the uid. It will continue to do so for the cache duration time. If the service doesn't immediately looks up its username, this bug is not triggered, as the cache will be invalidated around this time. However, if the service is quick enough, it might end up in a situation where it's incorrectly reported that the user doesn't exist. Preferably, we would not be using nscd at all. But we need to use it because glibc reads nss modules from /etc/nsswitch.conf by looking relative to the global LD_LIBRARY_PATH. Because LD_LIBRARY_PATH is not set globally (as that would lead to impurities and ABI issues), glibc will fail to find any nss modules. Instead, as a hack, we start up nscd with LD_LIBRARY_PATH set for only that service. Glibc will forward all nss syscalls to nscd, which will then respect the LD_LIBRARY_PATH and only read from locations specified in the NixOS config. we can load nss modules in a pure fashion. However, I think by accident, we just copied over the default settings of nscd, which actually caches user and group lookups. We already disable this when sssd is enabled, as this interferes with the correct working of libnss_sss.so as it already does its own caching of LDAP requests. (See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/usingnscd-sssd) Because nscd caching is now also interferring with libnss_systemd.so and probably also with other nsss modules, lets just pre-emptively disable caching for now for all options related to users and groups, but keep it for caching hosts ans services lookups. Note that we can not just put in /etc/nscd.conf: enable-cache passwd no As this will actually cause glibc to _not_ forward the call to nscd at all, and thus never reach the nss modules. Instead we set the negative and positive cache ttls to 0 seconds as a workaround. This way, Glibc will always forward requests to nscd, but results will never be cached. Fixes #50273
| * | | | | | | | nixos/systemd: Add a regression test for #50273Arian van Putten2018-12-12
| | | | | | | | |
* | | | | | | | | nvidia: Improve assertion documentationSvein Ove Aas2018-12-12
|/ / / / / / / /
* | | | | | | | nixos/nvidia: improve the assertion againVladimír Čunát2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /cc ac19d5e34 #51836.
* | | | | | | | logind: make killUserProcesses an option (#51426)Benjamin Staffin2018-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now it's not at all obvious that one can override this option using `services.logind.extraConfig`; we might as well add an option for `killUserProcesses` directly so it's clear and documented.
* | | | | | | | Merge #51836: nixos/nvidia: fix inverted assertionVladimír Čunát2018-12-11
|\ \ \ \ \ \ \ \
| * | | | | | | | nixos/nvidia: fix inverted assertionAndrew Childs2018-12-11
| | | | | | | | |
* | | | | | | | | doc: Fix insecure nginx docs (#51840)Jappie Klooster2018-12-11
| |_|/ / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #50862 from markuskowa/fix-slurm-modulemarkuskowa2018-12-11
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | nixos/slurm: set slurmd KillMode and add extraConfigPaths