summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* Factor out option renamingEelco Dolstra2015-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Option aliases/deprecations can now be declared in any NixOS module, not just in nixos/modules/rename.nix. This is more modular (since it allows for example grub-related aliases to be declared in the grub module), and allows aliases outside of NixOS (e.g. in NixOps modules). The syntax is a bit funky. Ideally we'd have something like: options = { foo.bar.newOption = mkOption { ... }; foo.bar.oldOption = mkAliasOption [ "foo" "bar" "newOption" ]; }; but that's not possible because options cannot define values in *other* options - you need to have a "config" for that. So instead we have functions that return a *module*: mkRemovedOptionModule, mkRenamedOptionModule and mkAliasOptionModule. These can be used via "imports", e.g. imports = [ (mkAliasOptionModule [ "foo" "bar" "oldOption" ] [ "foo" "bar" "newOption" ]); ]; As an added bonus, deprecation warnings now show the file name of the offending module. Fixes #10385.
* Don't block releases on nixos.tests.gnome3.i686-linuxEelco Dolstra2015-10-14
| | | | | | http://hydra.nixos.org/build/26702440 Issue #10353.
* Merge pull request #10384 from robbinch/fix-statdPascal Wittmann2015-10-14
|\ | | | | Fix typo in nixos/modules/tasks/filesystems/nfs.nix.
| * Fix typo in nixos/modules/tasks/filesystems/nfs.nix.Robbin C2015-10-14
| | | | | | | | statd should be cfg.statd.
* | copy-com service: order after network-online.targetTobias Geerinckx-Rice2015-10-13
| | | | | | | | | | | | I doubt that ordering non-sysvinit services after network.target ever makes sense. In this case, CopyConsole requires DNS lookups and fails if these are not yet possible.
* | nixos/synergy: Restart services on failure.aszlig2015-10-13
| | | | | | | | | | | | | | | | | | | | | | Synergy seems to get more and more unstable in recent versions, so we might want to debug this properly. However, it makes sense to restart the service nevertheless, because synergy is about keyboard and mouse sharing and it's quite annoying to either SSH in to restart the service or even needing to unplug the keyboard and plug in into the machine with the failing service. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | nixos/manual: installation iso logs in automaticallyVladimír Čunát2015-10-11
|/
* Merge pull request #10208 from offlinehacker/nixos/grafana/fix_option_nameDomen Kožar2015-10-08
|\ | | | | grafana service: fix package option name
| * grafana service: fix package option nameJaka Hudoklin2015-10-03
| |
* | nixos/jenkins: reduce default environmentBjørn Forsman2015-10-06
| | | | | | | | | | | | Don't pull in all of environment.sessionVariables, only add what's needed for nix and HTTPS to work (which was the point of the previous patch).
* | supplicant module: extended module for wpa_supplicantThomas Strobel2015-10-06
| | | | | | | | | | Add new configuration options for wpa_supplicant and allow to configure and start one wpa_supplicant per device.
* | power management: restart post-resume.target on resumeThomas Strobel2015-10-06
| | | | | | | | | | | | Trigger a restart of the post-resume.target on resume. That allows other systemd services to receive the restart signal after resume by becoming 'partOf' the post-resume.target.
* | networking module: wlanInterfaces: fix file name of udev rulesThomas Strobel2015-10-06
| |
* | networking module: vswitches: re-structure dependencies to systemd unitsThomas Strobel2015-10-06
| |
* | nixos grub: trustedBoot: introduce safety check that TPM is availableThomas Strobel2015-10-06
| |
* | Give more memory for the disk image builderEelco Dolstra2015-10-06
| | | | | | | | http://hydra.nixos.org/build/26480662
* | Merge pull request #10227 from bjornfor/jenkins-envvarsDomen Kožar2015-10-06
|\ \ | | | | | | nixos/jenkins: rework environment handling
| * | nixos/jenkins: rework environment handlingBjørn Forsman2015-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jenkins gets (by default) an additional environment of { NIX_REMOTE = "daemon"; } This has the following problems: 1. NIX_REMOTE disappears when users specify additional environment variables, because defaults have low merge priority. 2. nix cannot be used without additional NIX_PATH envvar, which is currently missing. 3. If you try to use HTTPS, you'll see that jenkins lacks SSL_CERT_FILE envvar, causing it to fail. This commit adds config.environment.sessionVariables and NIX_REMOTE to the set of variables that are always there for jenkins, making nix and HTTPS work out of the box. services.jenkins.environment is now empty by default.
* | | Merge pull request #10195 from cleverca22/masterlethalman2015-10-06
|\ \ \ | | | | | | | | build the crontab localy, there is nothing to gain from building it remotely
| * | | build the crontab localy, there is nothing to gain from building it remotelymichael bishop2015-10-03
| | | |
* | | | gnome3: add bgSupport=true. Closes #10242Luca Bruno2015-10-06
| | | |
* | | | gnome3 test: increase timeoutMathnerd3142015-10-05
| | | | | | | | | | | | | | | | | | | | The gnome3 test has been failing recently ([1](http://hydra.nixos.org/build/26608126/nixlog/1/raw) [2](http://hydra.nixos.org/build/26605926/nixlog/1/raw)); this is due to exit code 124 which is [the command timing out](https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html). This increases the timeout to 900, to align with the similar timeout in https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/test-driver/Machine.pm#L222
* | | | Fix nixos-upgradeEelco Dolstra2015-10-05
| |/ / |/| |
* | | nixos/docker: default storageDriver to "devicemapper"Bjørn Forsman2015-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 9bfe92ecee ("docker: Minor improvements, fix failing test") added the services.docker.storageDriver option, made it mandatory but didn't give it a default value. This results in an ugly traceback when users enable docker, if they don't pay enough attention to also set the storageDriver option. (An attempt was made to add an assertion, but it didn't work, possibly because of how "mkMerge" works.) The arguments against a default value were that the optimal value depends on the filesystem on the host. This is, AFAICT, only in part true. (It seems some backends are filesystem agnostic.) Also, docker itself uses a default storage driver, "devicemapper", when no --storage-driver=x options are given. Hence, we use the same value as default. Add a FIXME comment that 'devicemapper' breaks NixOS VM tests (for yet unknown reasons), so we still run those with the 'overlay' driver. Closes #10100 and #10217.
* | | nixos/modules: simplify pkgs.zfs handlingBjørn Forsman2015-10-04
| | | | | | | | | | | | Thanks, @lethalman.
* | | nixos/docker: Include ZFS commands in PATH for ZFS storagedriverCasey Ransom2015-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the ZFS storagedriver in docker, it shells out for the ZFS commands. The path configuration for the systemd task does not include ZFS, so if the driver is set to ZFS, add ZFS utilities to the PATH. This will resolve https://github.com/NixOS/nixpkgs/issues/10127 [Bjørn: prefix commit message with "nixos/docker:", remove extra space before ';']
* | | networking module: restructure wlanInterfacesThomas Strobel2015-10-04
|/ / | | | | | | | | Restructure internals of networking.wlanInterfaces option to generate proper '.device' systemd targets for the WLAN interfaces.
* | opensmtpd: support filters.Gabriel Ebner2015-10-02
| |
* | networking module: fix for wlanInterfacesThomas Strobel2015-10-02
| |
* | Merge pull request #10078 from nmikhailov/nm_servicelethalman2015-10-02
|\ \ | | | | | | Enable setting extended NetworkManager hooks
| * | Enable setting extended NetworkManager hooksNikita Mikhailov2015-09-26
| | |
* | | networking module: fix DocBook tagsThomas Strobel2015-10-01
| | |
* | | networking module: init 'wlanInterfaces' optionThomas Strobel2015-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration option for setting up virtual WLAN interfaces. If the hardware NIC supports it, then multiple virtual WLAN interfaces can be configured through the options of the new 'networking.wlanInterfaces' module. For example, the following configuration transforms the device with the persistent udev name 'wlp6s0' into a managed and a ad hoc device with the device names 'wlan-managed0' and 'wlan-adhoc0', respectively: networking.wlanInterfaces = { "wlan-managed0" = { type = "managed"; device = "wlp6s0"; }; "wlan-adhoc0" = { type = "ibss"; device = "wlp6s0"; }; }; Internally, a udev rule is created that matches wlp6s0 and runs a script which adds the missing virtual interfaces and re-configures the wlp6s0 interface accordingly. Once the new interfaces are created by the Linux kernel, the configuration of the interfaces is managed by udev and systemd in the usual way.
* | | rl-1509.xml: Gnome -> GNOMELuca Bruno2015-10-01
| | |
* | | Merge pull request #10160 from dezgeg/pr-unset-build-hook-in-nixos-installEelco Dolstra2015-09-30
|\ \ \ | | | | | | | | nixos-install: Don't use NIX_BUILD_HOOK from caller's environment
| * | | nixos-install: Don't use NIX_BUILD_HOOK from caller's environmentTuomas Tynkkynen2015-09-30
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If nixos-install is run on a machine with `nix.distributedBuilds = true` the installation will fail at some point like this: Died at /nix/store/4frhrl31cl7iahlz6vyvysy5dmr6xnh3-nix-1.10/libexec/nix/build-remote.pl line 115, <STDIN> line 1. This is due to `nix.distributedBuilds` setting NIX_BUILD_HOOK=/nix/store/.../build-remote.pl in the global environment, which then gets confused in the minimal chroot created by nixos-install. To avoid these kinds of issues with build hooks, just disable them in the chroot.
* | | typosDomen Kožar2015-09-30
| | |
* | | Merge pull request #10159 from nbp/doc-6794Domen Kožar2015-09-30
|\ \ \ | | | | | | | | Add pkgs module argument documentation for #6794 incompatible change.
| * | | Add pkgs module argument documentation for #6794 incompatible change.Nicolas B. Pierron2015-09-30
| | | |
* | | | Bump fallback Nix store pathsEelco Dolstra2015-09-30
|/ / /
* | | Tweak release notesEelco Dolstra2015-09-30
| | |
* | | update release notes for 15.09Domen Kožar2015-09-30
| | | | | | | | | | | | (cherry picked from commit e13b657670dc02280a5f7b0f89538d9a2ac0444f)
* | | opentsdb nixos module: Add option for defining OpenTSDB's configurationRickard Nilsson2015-09-30
| | |
* | | nixos/tests/gnome3: wait for gnome shell to be started, for a better screenshotLuca Bruno2015-09-30
| | |
* | | rl-1509.xml: update Haskell-related release notesPeter Simons2015-09-30
| | | | | | | | | | | | | | | | | | - Update the link to the manual to refer to the proper place. - Mention LTS Haskell and Stackage Nightly. - Minor cosmetic to improve readability.
* | | Merge pull request #10076 from ts468/upstream.systemdts4682015-09-30
|\ \ \ | | | | | | | | systemd module: add option to specify generators
| * | | systemd module: add option to specify generatorsThomas Strobel2015-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding the configuration option 'systemd.generators' to specify systemd system-generators. The option allows to either add new system-generators to systemd, or to over- ride or disable the system-generators provided by systemd. Internally, the configuration option 'systemd.generators' maps onto the 'environment.etc' configuration option. Having a convenience wrapper around 'environment.etc' helps to group the systemd system-generator configuration more easily with other 'systemd...' configurations.
* | | | Hack to parallelize AMI copyingEelco Dolstra2015-09-29
| | | |
* | | | Tweak AMI scriptEelco Dolstra2015-09-29
| | | |
* | | | Remove zfs-git and spl-gitEelco Dolstra2015-09-29
| | | | | | | | | | | | | | | | See https://github.com/NixOS/nixpkgs/pull/10042#commitcomment-13422343.