summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* nixos/i2pd: Update options to encompass recent additions to the daemonEdward Tjörnhammar2018-09-09
| | | | | | | Also: * switch to flat sysdir * remove nixos default reseeds, rely on program defaults * refactor config expressions
* Merge pull request #45925 from markuskowa/ompi-upxeji2018-09-09
|\ | | | | slurm: 17.11.9-2 -> 18.08.0-1
| * nixos/slurm: add option clusterNameMarkus Kowalewski2018-09-08
| | | | | | | | | | slurm 18.08 requires ClusterName to be set (set to default).
* | nixos: xdg: fix indent and eol spacesJan Malakhovski2018-09-08
| |
* | xdg/mime.nix: ensure $out/share/mime/packages existsMatthew Bauer2018-09-08
|/ | | | | | | | For update-mime-database to work, you must have to have some mime packages installed. In some DEs like XFCE this is not guaranteed to happen. In that case just skip the update-mime-database call. Fixes #46162
* nixos/sks: Make the webroot option optionalMichael Weiss2018-09-08
| | | | | | That way the built-in web server is usable by default but users can use $HOME/web directly (instead of having to use a symlink), if they want to customize the webpage.
* nixos/sks: Use a group and don't add sks to systemPackagesMichael Weiss2018-09-08
| | | | | | | | | | | | Without a group the gid will default to 65534 (2^16 - 2) which maps to "nogroup". IMO it makes more sense to explicitly set a valid group. Adding pkgs.sks to environment.systemPackages is not required (IIRC we want to avoid bloating environment.systemPackages). Instead it seems like a better idea to make the relevant binaries available to the user sks and enable useDefaultShell so that "su -l sks" can be used for manual interaction (that way the files will always have the correct owner).
* nixos/sks: Add a webroot optionMichael Weiss2018-09-08
| | | | | The module will now, by default, serve a simple webpage via the built-in web server (instead of displaying an error message).
* Merge pull request #46341 from obsidiansystems/fix-46320Graham Christensen2018-09-08
|\ | | | | nixpkgs module: Fix defaulting of `localSystem` and `system`
| * nixpkgs module: Fix defaulting of `localSystem` and `system`John Ericson2018-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Take two of #40708 (4fe289860888668956b7e79e24efeb101c2f51d1). That PR attempted to bidirectionally default `config.nixpkgs.system` and `config.nixpkgs.localSystem.system` to each be updated by the other. But this is not possible with the way the module system works. Divergence in certain cases in inevitable. This PR is more conservative and just has `system` default `localSystem` and `localSystem` make the final call as-is. This solves a number of issues. - `localSystem` completely overrides `system`, just like with nixpkgs proper. There is no need to specify `localSystem.system` to clobber the old system. - `config.nixpkgs.localSystem` is exactly what is passed to nixpkgs. No spooky steps. - `config.nixpkgs.localSystem` is elaborated just as nixpkgs would so that all attributes are available, not just the ones the user specified. The remaining issue is just that `config.nixpkgs.system` doesn't update based on `config.nixpkgs.localSystem.system`. It should never be referred to lest it is a bogus stale value because `config.nixpkgs.localSystem` overwrites it. Fixes #46320
* | Merge pull request #46361 from primeos/nixos-sksMichael Weiss2018-09-08
|\ \ | | | | | | nixos/sks: Minor improvements
| * | nixos/sks: Update the descriptions and add meta.maintainersMichael Weiss2018-09-08
| | | | | | | | | | | | TODO: Merge this module with https://github.com/NixOS/nixpkgs/pull/24516
| * | nixos/sks: Add a dataDir optionMichael Weiss2018-09-08
| | |
* | | nixos/networkmanager: fix VPN plugin service definition targets (#46201)Tad Fisher2018-09-08
|/ /
* | Merge pull request #45045 from jtojnar/rygelJan Tojnar2018-09-08
|\ \ | | | | | | Rygel
| * | nixos/rygel: initJan Tojnar2018-09-08
| | |
* | | Merge pull request #45728 from Ma27/nixos/weechat-moduleTimo Kaufmann2018-09-07
|\ \ \ | | | | | | | | nixos/weechat: add module
| * | | nixos/weechat: cleanup module, add module documentationMaximilian Bosch2018-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds several improvements the previously introduced `services.weechat` module: * Dropped `services.weechat.init` as the initialization script can now be done on package-level since 2af41719bc using the `configure` function. * Added `sessionName` option to explicitly configure a name for the `screen` session (by default: weechat-screen). * Added `binary` option to configure the binary name (e.g. `weechat-headless`). * Added docs regarding `screen` session and `weechat.service`.
| * | | weechat: add NixOS moduleYegor Timoshenko2018-09-07
| | | |
* | | | Merge pull request #44341 from shmish111/riemann-optionsSilvan Mosberger2018-09-07
|\ \ \ \ | | | | | | | | | | nixos/riemann: refactor config
| * | | | nixos/riemann: refactor configDavid Smith2018-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it was only possible to use very simple Riemann config. For more complicated scenarios you need a directory of clojure files and the config file that riemann starts with should be in this directory.
* | | | | Merge pull request #46235 from alexshpilkin/networkd-link-multicastFranz Pletz2018-09-07
|\ \ \ \ \ | |/ / / / |/| | | | nixos/networkd: support MULTICAST, fix RequiredForOnline and [Route]
| * | | | nixos/networkd: do not require gateway for routesAlexander Shpilkin2018-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | A route via a tunnel interface does not require a gateway to be specified, so do not check for the Gateway= field on routes at all.
| * | | | nixos/networkd: fix handling of RequiredForOnlineAlexander Shpilkin2018-09-07
| | | | |
| * | | | nixos/networkd: support MULTICAST flag on linksAlexander Shpilkin2018-09-07
| | |/ / | |/| | | | | | | | | | | | | | Support Multicast= option in [Link] section of network units, introduced in systemd/systemd#9118.
* | | | Merge pull request #45784 from oxij/pull/44720-shell-env-editedxeji2018-09-06
|\ \ \ \ | | | | | | | | | | nixos/shells: Avoid overriding the environment for other child shells
| * | | | nixos/shells: fix indent everywhereJan Malakhovski2018-08-30
| | | | | | | | | | | | | | | | | | | | to comply with `doc/coding-conventions.xml`
| * | | | nixos/shells: avoid overriding the environment for child shellsTor Hedin Brønner2018-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A shared exported guard `__NIXOS_SET_ENVIRONMENT_DONE` is introduced that can be used to prevent child shells from sourcing `system.build.setEnvironment` the second time. This fixes e.g. `nix run derivation` when run from e.g. ZSH through the console or ssh. Before this Bash would resource the common environment resetting the `PATH` environment variable. We also export `system.build.setEnvironment` to `/etc/set-environment` making it easy to reset the common environment with `. /etc/set-environment` when needed and to grep for environment variables in `/etc` (which was the motivation of #30418). This reverts changes made in b00a3fc6fd82834114771f2115a2b032f0ebfe29 (the original #30418).
* | | | | Merge pull request #44134 from dasJ/iperfSilvan Mosberger2018-09-06
|\ \ \ \ \ | | | | | | | | | | | | nixos/iperf: Init the module
| * | | | | nixos/iperf: Init the moduleJanne Heß2018-09-06
| | |_|/ / | |/| | |
* | | | | doc: Add release notes for top-level {build,host,target}Platform deprecationJohn Ericson2018-09-06
| | | | | | | | | | | | | | | | | | | | I forgot to do this in e51f736076548459f36a1250de4bf6867f880b66.
* | | | | Merge pull request #46148 from obsidiansystems/plain-system-hostJohn Ericson2018-09-06
|\ \ \ \ \ | | |_|_|/ | |/| | | top-level, stdenv: Make `system` and `stdenv.system` describe the hostPlatform
| * | | | doc: Add changelog entry for new definition of `system` and `stdenv.system`John Ericson2018-09-06
| | | | | | | | | | | | | | | | | | | | See the previous commit for details.
* | | | | Merge branch 'no-toPath'Shea Levy2018-09-06
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | treewide: Remove uses of builtins.toPath.Shea Levy2018-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | toPath has confusing semantics and is never necessary; it can always either just be omitted or replaced by pre-concatenating `/.`. It has been marked as "!!! obsolete?" for more than 10 years in a C++ comment, hopefully removing it will let us properly deprecate and, eventually, remove it.
* | | | | nix: 2.1 -> 2.1.1Eelco Dolstra2018-09-06
| |_|_|/ |/| | |
* | | | nixos/activation: fix activation script for non-POSIX shells (#46042)Maximilian Bosch2018-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue with shells like fish that are not fully POSIX compliant. The syntax `ENV=val cmd' doesn't work properly in there. This issue has been addressed in #45932 and #45945, however it has been recommended to use a single shell (`stdenv.shell' which is either `bash' or `sh') to significantly reduce the maintenance overload in the future. See https://github.com/NixOS/nixpkgs/issues/45897#issuecomment-417923464 Fixes #45897 /cc @FRidh @xaverdh @etu
* | | | nixos/tests/opensmtpd: prevent non-deterministic failure (#46071)xeji2018-09-05
| | | | | | | | | | | | | | | | | | | | A sporadic failure occured on Hydra because a request was sent to smtpd after the systemd unit was started, but before the daemon was actually listening. Fix by checking for open ports first.
* | | | Merge pull request #42295 from avnik/libprefixed-to-multioutput/heimdalMatthew Bauer2018-09-05
|\ \ \ \ | | | | | | | | | | Libprefixed to multioutput/heimdal
| * | | | heimdal: adjust daemon paths, they are in libexec nowAlexander V. Nikolaev2018-08-08
| | | | |
* | | | | statsd: mark broken, disable nixos test (#46097)xeji2018-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | It's broken with node v8 and the upstream project is dead (last commit Nov. 2016), see #45946 and https://github.com/etsy/statsd/issues/646
* | | | | Merge pull request #46058 from symphorien/dconf-dbusJan Tojnar2018-09-05
|\ \ \ \ \ | | | | | | | | | | | | dconf module: add dconf to services.dbus.packages
| * | | | | dconf module: add dconf to services.dbus.packagesSymphorien Gibol2018-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some programs like eog seem to need dconf accessible on dbus. Without this change I get (eog:1738): dconf-WARNING **: 21:20:52.770: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
* | | | | | nixos/tests/novacomd: prevent non-deterministic failureUli Baum2018-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A sporadic failure occured on Hydra because a request was sent to the daemon after the systemd unit was started, but before the daemon was actually listening. Fix by checking for open port first.
* | | | | | kernel: Remove CopperheadTim Steinbach2018-09-03
| | | | | | | | | | | | | | | | | | | | | | | | The patches are unmaintained and suggest a false sense of security
* | | | | | nix: 2.0.4 -> 2.1Eelco Dolstra2018-09-03
| | | | | |
* | | | | | nixos: Document option description changesaszlig2018-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a release notes entry to make users (and especially developers) aware so they no longer need to use </para><para> in option descriptions as this is now done automatically on every two consecutive newlines. More details can be found in the commit message of f865d0feabfafbb30a9e. Signed-off-by: aszlig <aszlig@nix.build>
* | | | | | release-notes: Adds 19.03 — KoiSamuel Dionne-Riel2018-09-02
| | | | | |
* | | | | | Merge pull request #45930 from aszlig/option-description-parbreakGraham Christensen2018-09-02
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | nixos: Split paras by \n\n in option descriptions
| * | | | | nixos: Split paras by \n\n in option descriptionsaszlig2018-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | What annoyed me for a long time was the fact, that in order to break into a new paragraph, you need to insert </para><para> in the description attribute of an option. Now we will automatically create <para/> elements for every block that is separated by two consecutive newlines. I first tried to do this within options-to-docbook.xsl, but it turns out[1] that this isn't directly possible with XSLT 1.0, so I added another XSLT file that postprocesses the option descriptions that are now enclosed in <nixos:option-description/> by options-to-docbook.xsl. The splitting itself is a bit more involved, because we can't simply split on every \n\n because we'd also split text nodes of elements, for example: <screen><![CDATA[ one line another one ]]></screen> This would create one <para/> element for "one line" and another for "another line", which we obviously don't want because <screen/> is used to display verbatim contents of what a user is seeing on the screen. So what we do instead is splitting *only* the top-level text nodes within the outermost <para/> and leave all elements as-is. If there are more than one <para/> elements at the top-level, we simply don't process it at all, because the description then already contains </para><para>. https://www.mhonarc.org/archive/html/xsl-list/2012-09/msg00319.html Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra, @domenkozar