about summary refs log tree commit diff
path: root/nixos/modules/services/networking
Commit message (Collapse)AuthorAge
* Merge pull request #87016 from flokli/nsswitch-cleanupFlorian Klink2020-05-14
|\ | | | | nixos/nsswitch cleanup nss modules
| * nixos/avahi: move nss database configuration into avahi moduleFlorian Klink2020-05-11
| |
* | nixos/pixiecore: fix escaping of cmdlinebetaboon2020-05-12
|/
* monero: fix rcp.restricted optionVojtěch Káně2020-05-11
| | | | | According to https://monerodocs.org/interacting/monerod-reference/#node-rpc-api the correct option is restricted-rpc, not restrict-rpc.
* Merge branch 'staging-next'Vladimír Čunát2020-05-06
|\ | | | | | | | | Status on Hydra for linuxes seems good enough: https://hydra.nixos.org/eval/1585703?filter=linux&compare=1585482&full=#tabs-now-fail
| * Merge master into staging-nextFrederik Rietdijk2020-05-05
| |\
| * \ Merge master into staging-nextFrederik Rietdijk2020-05-02
| |\ \
| * | | nixos/*: use $out instead of $bin with buildGoPackagezowoq2020-04-28
| | | |
* | | | Merge pull request #86712 from rardiol/hostapdLassulus2020-05-05
|\ \ \ \ | |_|_|/ |/| | | nixos/hostapd: country selection, CRDA, logging
| * | | nixos/hostapd: conditionally enable ieee80211dRicardo Ardissone2020-05-04
| | | |
| * | | nixos/hostapd: add logLevel optionRicardo Ardissone2020-05-04
| | | |
| * | | nixos/hostapd: add countryCode optionRicardo Ardissone2020-05-04
| | | |
| * | | nixos/hostapd: use CRDARicardo Ardissone2020-05-03
| | | | | | | | | | | | | | | | Needed for regulatory compliance and unlocking some channels.
* | | | nixos/prosody: add MUC extraConfig, fix extraConfig orderMartin Milata2020-05-04
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add extraConfig option for the muc submodule. Also move the global extraConfig before all components and virtualhosts, because the manual states: The configuration is divided into two parts. The first part is known as the "global" section. All settings here apply to the whole server, and are the default for all virtual hosts. The second half of the file is a series of VirtualHost and Component definitions. Settings under each VirtualHost or Component line apply only to that host. Before, if at least one muc was defined, or uploadHttp enabled, the global extraConfig would end up after "muc" or "http_upload" component making it apply to that component only and not globally.
* | | nixos/yggdrasil: add group optionEmery Hemingway2020-05-02
| | | | | | | | | | | | Allow users to access the Yggdrasil control socket by group.
* | | Merge pull request #86067 from NinjaTrappeur/nin-sane-prosody-defaultsFlorian Klink2020-05-01
|\ \ \ | | | | | | | | nixos/prosody: make module defaults comply with XEP-0423
| * | | nixos/prosody: add NixOS manual entryFélix Baylac-Jacqué2020-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add a Prosody entry to the NixOS manual showing how to setup a basic XEP-0423 compliant Prosody service. This example also showcase how to generate the associated ACME certificates. Note: The <programlisting> body might look poorly indented, but trust me, it's necessary. If we try to increase their indentation level, the HTML output will end up containing a lot of unecesseray heading spaces breaking the formatting...
| * | | nixos/prosody: leverage systemd sandbox features to harden serviceFélix Baylac-Jacqué2020-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are leveraging the systemd sandboxing features to prevent the service accessing locations it shouldn't do. Most notably, we are here preventing the prosody service from accessing /home and providing it with a private /dev and /tmp. Please consult man systemd.exec for further informations.
| * | | nixos/prosody: make defaults comply with XEP-0423Félix Baylac-Jacqué2020-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting up a XMPP chat server is a pretty deep rabbit whole to jump in when you're not familiar with this whole universe. Your experience with this environment will greatly depends on whether or not your server implements the right set of XEPs. To tackle this problem, the XMPP community came with the idea of creating a meta-XEP in charge of listing the desirable XEPs to comply with. This meta-XMP is issued every year under an new XEP number. The 2020 one being XEP-0423[1]. This prosody nixos module refactoring makes complying with XEP-0423 easier. All the necessary extensions are enabled by default. For some extensions (MUC and HTTP_UPLOAD), we need some input from the user and cannot provide a sensible default nixpkgs-wide. For those, we guide the user using a couple of assertions explaining the remaining manual steps to perform. We took advantage of this substential refactoring to refresh the associated nixos test. Changelog: - Update the prosody package to provide the necessary community modules in order to comply with XEP-0423. This is a tradeoff, as depending on their configuration, the user might end up not using them and wasting some disk space. That being said, adding those will allow the XEP-0423 users, which I expect to be the majority of users, to leverage a bit more the binary cache. - Add a muc submodule populated with the prosody muc defaults. - Add a http_upload submodule in charge of setting up a basic http server handling the user uploads. This submodule is in is spinning up an HTTP(s) server in charge of receiving and serving the user's attachments. - Advertise both the MUCs and the http_upload endpoints using mod disco. - Use the slixmpp library in place of the now defunct sleekxmpp for the prosody NixOS test. - Update the nixos test to setup and test the MUC and http upload features. - Add a couple of assertions triggered if the setup is not xep-0423 compliant. [1] https://xmpp.org/extensions/xep-0423.html
* | | | thelounge: write out default path for theloungeEd Cragg2020-05-01
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output file is found and handled by thelounge itself [1], leaving the user free to override THELOUNGE_HOME in the environment if they choose, but having a sensible default to make `thelounge` generally usable in most cases. This solution follows discussion on #70318. [1] https://github.com/thelounge/thelounge/blob/9ef5c6c67e463c1f401e33b21dfb5641636e5ed1/src/command-line/utils.js#L56
* | | treewide: add types to boolean / enable options or make use of mkEnableOptionDominik Xaver Hörl2020-04-27
|/ /
* | Merge pull request #85598 from danderson/tailscale-fix-cachedirFlorian Klink2020-04-21
|\ \ | | | | | | nixos/tailscale: set a CacheDir in the systemd unit.
| * | nixos/tailscale: set a CacheDir in the systemd unit.David Anderson2020-04-20
| | | | | | | | | | | | | | | | | | | | | Fixes a bug where tailscaled drops some files into / when CacheDir is unset. Signed-off-by: David Anderson <dave@natulte.net>
* | | treewide: add bool type to enable options, or make use of mkEnableOptionDominik Xaver Hörl2020-04-21
|/ / | | | | | | Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
* | Merge pull request #73934 from flokli/nixos-test-port-cockroachdbworldofpeace2020-04-19
|\ \ | | | | | | nixosTests.cockroachdb: port to python
| * | nixos/chrony: move to StateDirectory and tmpfiles.dFlorian Klink2020-04-03
| | |
* | | nixos/nftables: fix typo in ruleset exampleTony Olagbaiye2020-04-10
| | |
* | | nixos/rxe: fix option descriptionFlorian Klink2020-04-05
| | | | | | | | | | | | | | | This caused an opening xml tag in our docbook pipeline and failed the manual build.
* | | Merge pull request #83618 from NixOS/staging-nextFrederik Rietdijk2020-04-05
|\ \ \ | | | | | | | | Staging next
| * \ \ Merge master into staging-nextFrederik Rietdijk2020-04-03
| |\ \ \ | | | |/ | | |/|
| * | | Merge remote-tracking branch 'upstream/master' into HEADJörg Thalheim2020-03-29
| |\ \ \
| * \ \ \ Merge staging-next into stagingFrederik Rietdijk2020-03-28
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into stagingOrivej Desh2020-03-23
| |\ \ \ \ \
| * \ \ \ \ \ Merge pull request #81277 from markuskowa/upd-rdma-coremarkuskowa2020-03-22
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/rdma-core: 27.0 -> 28.0, update RXE module
| | * | | | | | nixos/rxe: use iproute instead of rdma-coreMarkus Kowalewski2020-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rdma-core packages dropped rxe_cfg in favour of iproute's rdma utility (see https://github.com/linux-rdma/rdma-core/pull/678/files)
* | | | | | | | ssh validationPackage is a single value, not a listFrederik Rietdijk2020-04-05
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge pull request #84074 from Infinisil/fix-literal-option-examplesSilvan Mosberger2020-04-03
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/treewide: Fix incorrectly rendered examples
| * | | | | | | nixos/treewide: Fix incorrectly rendered examplesSilvan Mosberger2020-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many options define their example to be a Nix value without using literalExample. This sometimes gets rendered incorrectly in the manual, causing confusion like in https://github.com/NixOS/nixpkgs/issues/25516 This fixes it by using literalExample for such options. The list of option to fix was determined with this expression: let nixos = import ./nixos { configuration = {}; }; lib = import ./lib; valid = d: { # escapeNixIdentifier from https://github.com/NixOS/nixpkgs/pull/82461 set = lib.all (n: lib.strings.escapeNixIdentifier n == n) (lib.attrNames d) && lib.all (v: valid v) (lib.attrValues d); list = lib.all (v: valid v) d; }.${builtins.typeOf d} or true; optionList = lib.optionAttrSetToDocList nixos.options; in map (opt: { file = lib.elemAt opt.declarations 0; loc = lib.options.showOption opt.loc; }) (lib.filter (opt: if opt ? example then ! valid opt.example else false) optionList) which when evaluated will output all options that use a Nix identifier that would need escaping as an attribute name.
* | | | | | | | nixos/wg-quick: Fix after wireguard got upstreamedBastian Köcher2020-04-03
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | nixos/pixiecore: init (#83406)Bruno Bigras2020-04-02
|/ / / / / / | | | | | | | | | | | | | | | | | | Co-authored-by: raunovv <rauno@oyenetwork.com> Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
* | | | | | nixos: add freedesktop/gnome/myself maintainersworldofpeace2020-04-01
| | | | | |
* | | | | | Merge pull request #70762 from xfix/nixos-mullvad-vpnMario Rodas2020-04-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/mullvad-vpn: add service
| * | | | | | nixos/mullvad-vpn: add serviceKonrad Borowski2019-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mullvad-vpn package is mostly useless without it.
* | | | | | | nixos/magic-wormhole-mailbox-server: moving from mail to networkingMarek Mahut2020-03-31
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #83473 from doronbehar/update-connmanworldofpeace2020-03-28
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | connman: 1.37 -> 1.38
| * | | | | nixos/connman: add TODOs regarding connman + network-managerDoron Behar2020-03-28
| | | | | |
| * | | | | nixos/connman: add option to use specific packageDoron Behar2020-03-28
| | |_|_|/ | |/| | |
* / | | | nixos/quorum: initMarek Mahut2020-03-27
|/ / / /
* | | | nixos/supplicant: Don't *stop* supplicant on machine resume. Fixes #51582Darius Jahandarie2020-03-20
| | | |
* | | | resilio: fix a list being assigned to the option config.users.groupsJesper Geertsen Jonsson2020-03-19
| | | |