summary refs log tree commit diff
path: root/nixos/modules
Commit message (Collapse)AuthorAge
* nixos/*: automatically convert option docspennae2022-08-19
|
* nixos/*: mark pre-existing markdown descriptions as mdDocpennae2022-08-19
|
* nixos/*: use properly indented strings for option docspennae2022-08-19
| | | | | | using regular strings works well for docbook because docbook is not as whitespace-sensitive as markdown. markdown would render all of these as code blocks when given the chance.
* nixos/*: convert some markdown in docbook to tagspennae2022-08-19
| | | | | | | a lot of markdown syntax has already snuck into option docs, many of it predating the intent to migrate to markdown. we don't convert all of it here, just that which is accompanied by docbook tags as well. the rest can be converted by simply adding the mdDoc marker.
* nixos/*: remove links to options in code blockspennae2022-08-19
| | | | | markdown simply cannot represent these. would be nice to have, but it'll have to happen some other way (if at all).
* nixos/nix-daemon: replace <uri> with <literal>pennae2022-08-19
| | | | | this could've been a link as well, but <uri> did not render as a link in the html manual.
* nixos/*: replace <quote> with actual quotespennae2022-08-19
|
* nixos/postgresql: replace <function> with <literal>pennae2022-08-19
| | | | there's only this one use, we can live with the tiny rendering change.
* nixos/*: normalize links with #TEXT=hrefpennae2022-08-19
| | | | | the xslt pass will re-add this text, and not having href and text be equal is required to automatically migrate these links to markdown.
* nixos/*: remove <productname>pennae2022-08-19
| | | | | no change to the rendered output, and we can't properly represent this in markdown anyway.
* nixos/*: turn inline code blocks into more appropriate thingspennae2022-08-19
|
* nixos/* eliminate inner whitespace in tags that was missed earlierpennae2022-08-19
| | | | | nix-doc-munge won't match tags that contain newlines anywhere. most of these have already been removed, but a few obviously made it through.
* nixos/*: normalize <package> to <literal>pennae2022-08-19
| | | | | | | this renders the same in the manpage and a little more clearly in the html manual. in the manpage there continues to be no distinction from regular text, the html manual gets code-type markup (which was probably the intention for most of these uses anyway).
* Revert "nixos/fwupd: enable udisks2"Kenny MacDermid2022-08-19
| | | | | | | This reverts commit fb5bceb3ff3b99f6531908f46526cb55c7d29eac. Reverted at the request of the author, Bernardo Meurer, to avoid requiring udisks2 for fwupd to work.
* nixos/fwupd: migrate to uefi_capsule.confKenny MacDermid2022-08-19
| | | | | | | | | | | | In version 1.5.5 of fwupd the uefi plugin was renamed to uefi-capsule. As part of those changes the configuration file was renamed and changed. This modules configuration mismatch was generally hidden because when udisks2 is enabled fwupd will use that instead. Without udisks2 the following warning is seen: WARNING: UEFI ESP partition not detected or configured
* Merge pull request #187372 from delroth/networkd-p2p-routeMaximilian Bosch2022-08-19
|\ | | | | nixos/network-interfaces-systemd: do not ignore /0 gateway routes
| * nixos/network-interfaces-systemd: do not ignore /0 gateway routesPierre Bourdon2022-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While it might seem odd, 0.0.0.0/0 or ::/0 gateways are valid and commonly used on point-to-point links (e.g. a wireguard tunnel) to indicate that all traffic needs to be sent to a given interface. systemd-networkd actually documents this as a valid configuration in its man pages [1]. Tested to do the right thing in one of my NixOS containers using a Wireguard tunnel as its default route. [1] https://www.freedesktop.org/software/systemd/man/systemd.network.html#DefaultRouteOnDevice=
* | Merge pull request #157997 from kirelagin/grayscale-antialiasingChristian Kögler2022-08-19
|\ \ | | | | | | hidpi: Use gray-scale antialiasing for fonts
| * | hidpi: Use gray-scale antialiasing for fontsKirill Elagin2022-02-03
| | | | | | | | | | | | | | | | | | | | | | | | For displays with high pixel density, there is no need to do subpixel anti-aliasing (which is the default) – grayscale antialiasing is enough. In terms of fontconfig, we keep antialiasing on, but tell it not to play any RGB tricks.
* | | Merge pull request #166942 from AleXoundOS/patch-1Christian Kögler2022-08-19
|\ \ \ | | | | | | | | NixOS manual: fix ACME certificates in Nginx configuration sample
| * | | NixOS manual: fix ACME certificates in Nginx configuration exampleAlexander T2022-04-02
| | | |
* | | | nixos/{containers,podman}: nixpkgs-fmtzowoq2022-08-19
| | | |
* | | | nixos/komga: add moduleGauvain 'GovanifY' Roussel-Tarbouriech2022-08-18
| |_|/ |/| |
* | | Merge pull request #187299 from ↵Pascal Bach2022-08-18
|\ \ \ | | | | | | | | | | | | | | | | superherointj/nixos-modules-minio-fix-network-issue nixos/minio: fix startup issue
| * | | nixos/minio: fix startup issuesuperherointj2022-08-18
| | | |
* | | | Merge pull request #185803 from Ma27/sssd-secretsMaximilian Bosch2022-08-18
|\ \ \ \ | | | | | | | | | | nixos/sssd: Add secrets handling (patch originally from @yayayayaka)
| * | | | nixos/sssd: explain why we use EnvironmentFile=Maximilian Bosch2022-08-18
| | | | |
| * | | | nixos/sssd: fix typoMaximilian Bosch2022-08-18
| | | | |
| * | | | nixos/sssd: Add secrets handlingLara2022-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, it is not possible to supply sensitive credentials like `ldap_default_authtok` without writing them to the nix store. This This commit introduces a new option `environmentFile` where those credentials can be supplied via environment substitution.
* | | | | nixos/libvirtd: Do not add autostart networkAndrew Marshall2022-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does make the out-of-the-box install perhaps a bit worse, since networking may need to be manually configured. However, it makes it less frustrating that upon every start of this service, a *removed* autostart network will be re-added when removed by the user. See https://github.com/NixOS/nixpkgs/issues/73418 for details. Behavior from other distros: - Adds autostart net on install: Fedora - Does not add autostart net : Debian, Arch This does not break any existing installs since it does not affect any autostart network already in-place.
* | | | | Merge pull request #162484 from jappeace/keter-moduleckie2022-08-18
|\ \ \ \ \ | | | | | | | | | | | | nixos/keter: init at 2.0.1
| * | | | | nixos/keter: initJappie Klooster2022-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable keter module Keter is an apploader which: 1. has the old app running on a port. 2. loads a new one, and wait for that to complete 3. switches the old with the new one once the new one finished loading. It supports more functionality but this use case is the primary one being used by supercede. Adds keter as a module to nixos. Currently keter is unusable with nix, because it relies on bundeling of a tar and uploading that to a specific folder. These expressions automate these devops tasks, with especially nixops in mind. This will work with versions above 1.8 The test seems to work. This uses a new version of keter which has good support for status code on error pages. We're using this config at production at supercede so it should be fine. Squash log: ========== mention keter in changelog Update generated release notes Always restart keter on failure This is a little bit of extra stability in case keter crashes. Which can happen under extreme conditions (DoS attacks). Update nixos/doc/manual/release-notes/rl-2205.section.md Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> Update nixos/modules/module-list.nix Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> Remove sanitization don't put domain in as a string Update nixos/tests/keter.nix Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> add jappie as module maintainer Use type path instead of two seperate options Fix generated docs added test machinery to figure out why it's failing Fix the test, use console output run nixpkgs-fmt on all modules Inline config file. This get's rid of a lot of inderection as well. Run nix format remove comment simplify executable for test delete config file add config for keter root Remove after redis clause set keter root by default to /var/lib/keter Update nixos/modules/services/web-servers/keter/default.nix Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> Update nixos/modules/services/web-servers/keter/default.nix Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> Update nixos/modules/services/web-servers/keter/default.nix Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> fix nit add newlines add default text and move description in a long description Delete rather obvious comment fix release db thing remove longDescription and put it in a comment instead change description of mkEnalbeOption explain what keter does by using the hackage synopsis set domain to keterDomain and same for executable move comment to where it's happening fix type error add formatting better comment try add seperate user for keter Revert "try add seperate user for keter" This reverts commit d3522d36c96117335bfa072e6f453406c244e940. Doing this breaks the setup set default to avoid needing cap_net_bind_service remove weird comment use example fields eleborated on process leakage Update nixos/modules/services/web-servers/keter/default.nix Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com> run nixpkgs-fmt update docs Fix formatting, set keter package by default format our little nixexpr replace '' -> " where possible drop indent for multiline string make description much shorter regen docs database
* | | | | | Merge pull request #185987 from LoveIsGrief/display-manager-read-.profileKira Bruneau2022-08-17
|\ \ \ \ \ \ | | | | | | | | | | | | | | Attempt to source .profile if .xprofile not found
| * | | | | | x11: Source .profile and .xprofileLoveIsGrief2022-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other popular distros (OpenSuse, Ubuntu, Gentoo, Arch) read $HOME/.profile when starting X11 display managers. When moving to nixOS, that is then broken leading to unpredictable behavior (probably programs not working). This adds similar behavior to https://github.com/sddm/sddm/blob/develop/data/scripts/Xsession Related to #185979
* | | | | | | Merge pull request #187132 from ElvishJerricco/gnome-disable-packagekitJan Tojnar2022-08-17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos: Don't enable packagekit by default
| * | | | | | | nixos: Don't enable packagekit by defaultWill Fancher2022-08-17
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge pull request #187029 from lovesegfault/fwupdmgr-udisksBernardo Meurer2022-08-17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/fwupd: enable udisks2
| * | | | | | | nixos/fwupd: enable udisks2Bernardo Meurer2022-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, you get a warning that fwupd is unable to find the ESP partition. c.f. https://github.com/fwupd/fwupd/wiki/PluginFlag:esp-not-found
* | | | | | | | Merge pull request #182382 from SuperSandro2000/portunusSandro2022-08-17
|\ \ \ \ \ \ \ \
| * | | | | | | | nixos/portunus: initSandro Jäckel2022-08-08
| | | | | | | | |
| * | | | | | | | nixos/dex: replace arbitrary secrets via environmentFileSandro Jäckel2022-08-04
| | | | | | | | |
* | | | | | | | | Merge pull request #186536 from tpwrules/add-spice-webdavd-moduleckie2022-08-17
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | nixos/spice-webdavd: init
| * | | | | | | | | nixos/spice-webdavd: initThomas Watson2022-08-14
| | | | | | | | | |
* | | | | | | | | | Merge pull request #185820 from talyz/discourse-2.9.0.beta8Kim Lindberger2022-08-17
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | discourse: 2.9.0.beta4 -> 2.9.0.beta9
| * | | | | | | | | discourse: 2.9.0.beta4 -> 2.9.0.beta9talyz2022-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Tobias Stenzel <ts@flyingcircus.io>
* | | | | | | | | | Merge pull request #186785 from helsinki-systems/feat/nss-lookup-nscdLassulus2022-08-16
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | nixos/nscd: Add requiredBy for the nss targetsJanne Heß2022-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to ensure the targets are stopped when nscd is stopped to prevent races on switch. Example interaction: nscd is stopped, some service that requires nss-user-lookup.target is restarted. Without this PR, nss-user-lookup.target would still be active, hence the service would start without nscd running.
* | | | | | | | | | | Merge pull request #183717 from NetaliDev/mysql-authMaximilian Bosch2022-08-16
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nixos: add mysql/mariadb user authentication module
| * | | | | | | | | | | nixos/pam: move pam_unix to the end of the account chainNetali2022-08-06
| | | | | | | | | | | |
| * | | | | | | | | | | nixos: add mysql/mariadb user authenticationNetali2022-08-06
| | | | | | | | | | | |