about summary refs log tree commit diff
path: root/nixos/modules
Commit message (Collapse)AuthorAge
* nixos/rigel: Fix evaluationSamuel Dionne-Riel2020-03-26
|
* nixos/rygel: link rygel.confworldofpeace2020-03-26
| | | | | Fixes https://github.com/NixOS/nixpkgs/issues/83108. In the future we should make this configurable.
* Merge pull request #82929 from zimbatm/nixos-gerritzimbatm2020-03-26
|\ | | | | nixos gerrit module
| * nixos: add gerrit modulezimbatm2020-03-26
| | | | | | | | | | Co-authored-by: edef <edef@edef.eu> Co-authored-by: Florian Klink <flokli@flokli.de>
* | Merge pull request #82353 from Ma27/nextcloud-upgrade-pathMaximilian Bosch2020-03-26
|\ \ | | | | | | nixos/nextcloud: fix upgrade path from 19.09 to 20.03
| * | nixos/nextcloud: implement a safe upgrade-path between 19.09 and 20.03Maximilian Bosch2020-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's impossible to move two major-versions forward when upgrading Nextcloud. This is an issue when comming from 19.09 (using Nextcloud 16) and trying to upgrade to 20.03 (using Nextcloud 18 by default). This patch implements the measurements discussed in #82056 and #82353 to improve the update process and to circumvent similar issues in the future: * `pkgs.nextcloud` has been removed in favor of versioned attributes (currently `pkgs.nextcloud17` and `pkgs.nextcloud18`). With that approach we can safely backport major-releases in the future to simplify those upgrade-paths and we can select one of the major-releases as default depending on the configuration (helpful to decide whether e.g. `pkgs.nextcloud17` or `pkgs.nextcloud18` should be used on 20.03 and `master` atm). * If `system.stateVersion` is older than `20.03`, `nextcloud17` will be used (which is one major-release behind v16 from 19.09). When using a package older than the latest major-release available (currently v18), the evaluation will cause a warning which describes the issue and suggests next steps. To make those package-selections easier, a new option to define the package to be used for the service (namely `services.nextcloud.package`) was introduced. * If `pkgs.nextcloud` exists (e.g. due to an overlay which was used to provide more recent Nextcloud versions on older NixOS-releases), an evaluation error will be thrown by default: this is to make sure that `services.nextcloud.package` doesn't use an older version by accident after checking the state-version. If `pkgs.nextcloud` is added manually, it needs to be declared explicitly in `services.nextcloud.package`. * The `nixos/nextcloud`-documentation contains a "Maintainer information"-chapter which describes how to roll out new Nextcloud releases and how to deal with old (and probably unsafe) versions. Closes #82056
* | | Merge pull request #83199 from edolstra/remove-manual-serviceEelco Dolstra2020-03-24
|\ \ \ | | | | | | | | Remove manual service
| * | | Remove unused 'rogue' serviceEelco Dolstra2020-03-24
| | | |
| * | | services/misc/nixos-manual.nix: RemoveEelco Dolstra2020-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running the manual on a TTY is useless in the graphical ISOs and not particularly useful in non-graphical ISOs (since you can also run 'nixos-help'). Fixes #83157.
* | | | Merge pull request #80066 from worldofpeace/mate-upstreamworldofpeace2020-03-23
|\ \ \ \ | | | | | | | | | | nixos/mate: use upstream session
| * | | | nixos/mate: debugging via environment variableworldofpeace2020-02-18
| | | | |
| * | | | nixos/mate: use upstream sessionworldofpeace2020-02-18
| | | | |
* | | | | Merge pull request #83042 from aanderse/mysql-fixupOrivej Desh (NixOS)2020-03-23
|\ \ \ \ \ | |_|_|_|/ |/| | | | nixos/mysql: fix service so it works with mysql80 package
| * | | | nixos/mysql: fix service so it works with mysql80 packageAaron Andersen2020-03-20
| | |_|/ | |/| |
* | | | nixos/netdata: fix permissions for perf.pluginIzorkin2020-03-23
| | | |
* | | | nixos/netdata: fix permissions for slabinfo.pluginIzorkin2020-03-23
| |_|/ |/| |
* | | nixos/griphite: Migrate to python3, drop graphite-pagerLancelot SIX2020-03-22
| | |
* | | Merge pull request #78938 from aanderse/duo-activation-scriptsAaron Andersen2020-03-22
|\ \ \ | | | | | | | | nixos/duosec: replace insecure skey option with secure secretKeyFile option
| * | | nixos/duosec: rename ikey option to integrationKeyAaron Andersen2020-03-22
| | | |
| * | | nixos/duosec: replace insecure skey option with secure secretKeyFile optionAaron Andersen2020-03-22
| | | |
| * | | nixos/duosec: fix indentationAaron Andersen2020-03-21
| |/ /
* | | Merge pull request #83153 from ciil/fail2ban-warningMaximilian Bosch2020-03-23
|\ \ \ | | | | | | | | fail2ban: fix firewall warning
| * | | fail2ban: fix firewall warningSimon Lackerbauer2020-03-22
| | | |
* | | | Merge pull request #83131 from ck3d/fix-kodi-lircmarkuskowa2020-03-22
|\ \ \ \ | |/ / / |/| | | kodi: fix lirc support
| * | | kodi: fix lirc supportChristian Kögler2020-03-22
| | | | | | | | | | | | | | | | | | | | * adapted to the way kodi finds the lircd socket * added lirc package to build support for lirc
* | | | nixos/ssmtp: declare all option renames manuallyMaximilian Bosch2020-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While renaming `networking.defaultMailServer` directly to `services.ssmtp` is shorter and probably clearer, it causes eval errors due to the second rename (directDelivery -> enable) when using e.g. `lib.mkForce`. For instance, ``` nix { lib, ... }: { networking.defaultMailServer = { hostName = "localhost"; directDelivery = lib.mkForce true; domain = "example.org"; }; } ``` would break with the following (rather confusing) error: ``` error: The option value `services.ssmtp.enable' in `/home/ma27/Projects/nixpkgs/nixos/modules/programs/ssmtp.nix' is not of type `boolean'. (use '--show-trace' to show detailed location information) ```
* | | | Merge pull request #83000 from djahandarie/masterMichael Raskin2020-03-22
|\ \ \ \ | | | | | | | | | | nixos/supplicant: Don't *stop* supplicant on machine resume. Fixes #51582
| * | | | nixos/supplicant: Don't *stop* supplicant on machine resume. Fixes #51582Darius Jahandarie2020-03-20
| | | | |
* | | | | Merge pull request #82801 from Izorkin/fail2banJörg Thalheim2020-03-22
|\ \ \ \ \ | | | | | | | | | | | | nixos/fail2ban: add warning if work fail2ban without firewall
| * | | | | nixos/fail2ban: disable work fail2ban without firewallIzorkin2020-03-18
| | | | | |
* | | | | | Merge pull request #75940 from davidtwco/wooting-initMatthew Bauer2020-03-22
|\ \ \ \ \ \ | | | | | | | | | | | | | | wooting: init wootility, wooting-udev-rules and module
| * | | | | | nixos/wooting: add `hardware.wooting` moduleDavid Wood2019-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Wood <david.wood@codeplay.com>
* | | | | | | nixos/nixpkgs.nix: Allow just using config in system (#80818)Matthew Bauer2020-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nixos/nixpkgs.nix: Allow just using config in system This assertion requires system to work properly. We might not have this in cases where the user just sets config and wants Nixpkgs to infer system from that. This adds a default for when this happens, using doubleFromSystem. * parens
* | | | | | | Merge pull request #82286 from yesbox/netdata_module_package_optionJörg Thalheim2020-03-21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/netdata: add module package option
| * | | | | | | nixos/netdata: add module package optionJesper Geertsen Jonsson2020-03-10
| | | | | | | |
* | | | | | | | nixos/documentation: Allow specifying extraSourcesbb010g2020-03-20
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Because there was absolutely no way of setting this without rewriting parts of the module otherwise.
* | | | | | | $toplevel/system: use kernel's architecturevolth2020-03-20
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `$toplevel/system` of a system closure with `x86_64` kernel and `i686` userland should contain "x86_64-linux". If `$toplevel/system` contains "i686-linux", the closure will be run using `qemu-system-i386`, which is able to run `x86_64` kernel on most Intel CPU, but fails on AMD. So this fix is for a rare case of `x86_64` kernel + `i686` userland + AMD CPU
* | | | | | nixos-option: Disable on Nix >= 2.4 because it doesn't compileEelco Dolstra2020-03-20
| | | | | | | | | | | | | | | | | | | | | | | | This is needed when using the overlay from the Nix flake.
* | | | | | resilio: fix a list being assigned to the option config.users.groupsJesper Geertsen Jonsson2020-03-19
| |_|_|/ / |/| | | |
* | | | | nixos/zerotierone: switch from manually generating the .link file to use the ↵Florian Klink2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | module Previously, systemd.network.links was only respected with networkd enabled, but it's really udev taking care of links, no matter if networkd is enabled or not. With our module fixed, there's no need to manually manage the text file anymore. This was originally applied in 3d1079a20dafd82fac7ac857e63c91e787f4eaaa, but was reverted due to 1115959a8d4d73ad73341563dc8bbf52230a281e causing evaluation errors on hydra.
* | | | | nixos/networkd: respect systemd.network.links also with disabled ↵Florian Klink2020-03-19
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | systemd-networkd This mirrors the behaviour of systemd - It's udev that parses `.link` files, not `systemd-networkd`. This was originally applied in 36ef112a477034fc6d1d9170bf1bcda0140a8d1d, but was reverted due to 1115959a8d4d73ad73341563dc8bbf52230a281e causing evaluation errors on hydra.
* | | | tailscale: init at 0.96-33Martin Baillie2020-03-18
| | | | | | | | | | | | | | | | Signed-off-by: Martin Baillie <martin@baillie.email>
* | | | Merge pull request #82767 from thefloweringash/rpfilter-assertion-typesNiklas Hambüchen2020-03-18
|\ \ \ \ | | | | | | | | | | nixos/firewall: fix types in reverse path assertion
| * | | | nixos/firewall: fix types in reverse path assertionAndrew Childs2020-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Broken by 0f973e273c284a97a8dffeab7d9c0b09a88b7139 in #73533 The type of the checkReversePath option allows "strict" and "loose" as well as boolean values.
* | | | | Merge pull request #79851 from mmilata/supybot-enhancementsgoibhniu2020-03-17
|\ \ \ \ \ | |/ / / / |/| | | | nixos/supybot: switch to python3, enable systemd sandboxing, add option for installing plugins
| * | | | nixos/supybot: python3 switch, add plugin optionsMartin Milata2020-03-09
| | | | | | | | | | | | | | | | | | | | Python2 seems to be no longer supported by limnoria upstream.
| * | | | nixos/supybot: enable systemd sandboxing optionsMartin Milata2020-03-09
| | | | |
| * | | | nixos/supybot: stateDir in /var/lib, use tmpfilesMartin Milata2020-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | Moving the stateDir is needed in order to use ProtectSystem=strict systemd option.
* | | | | Merge pull request #79120 from symphorien/iodineLéo Gaspard2020-03-16
|\ \ \ \ \ | | | | | | | | | | | | Iodine: ipv6 support, updates, hardening, nixos test....
| * | | | | nixos/iodine: protect passwordFiles with toStringSymphorien Gibol2020-02-13
| | | | | | | | | | | | | | | | | | | | | | | | It should prevent copying the files to a store path