about summary refs log tree commit diff
path: root/nixos/modules
Commit message (Collapse)AuthorAge
* Merge pull request #274291 from wahjava/fix-drbd-serviceNick Cao2023-12-15
|\ | | | | drbd: fix path to drbdadm
| * drbd: fix path to drbdadmAshish SHUKLA2023-12-15
| | | | | | | | | | | | props: @cody4k for the fix Fixes #268172
* | Merge pull request #274264 from flokli/udev-rules-allow-bin-shFlorian Klink2023-12-15
|\ \ | | | | | | nixos/udev: allow /bin/sh in udev rules
| * | nixos/udev: allow /bin/sh in udev rulesFlorian Klink2023-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using `/bin/sh` in udev rules is fine (as it's guaranteed to point to a (bash) shell on NixOS), and actually is better than hardcoding absolute paths, at least in cases where these rules are also added to the (systemd-based) initrd (via boot.initrd.services.udev.rules). To allow this, we need to update the check routine that assembles the list of files needing fixup, to explicitly exclude `/bin/sh` occurences. To do this, we convert the pattern to a PCRE regex (which requires "/" to be escaped), and add `(?!/bin/sh\b)` as a negative lookahead. This subsequently allows udev rules to (start using) `/bin/sh` again, so they'll work in-initrd.
* | | nixos/ldso: remove string context from linker sonameK9002023-12-15
| | | | | | | | | | | | Unbreaks installer tests that otherwise start depending on i686-glibc
* | | Merge pull request #273858 from dotlambda/nextcloud28-initMaximilian Bosch2023-12-15
|\ \ \ | | | | | | | | nextcloud28: init at 28.0.0, nextcloud27: 27.1.4 -> 27.1.5, nextcloud26: 26.0.9 -> 26.0.10
| * | | nixos/doc: mention nc28Maximilian Bosch2023-12-14
| | | |
| * | | nixos/nextcloud: updates for nc28Maximilian Bosch2023-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Always use PHP 8.2: at the time of writing, Nextcloud also suggests to use 8.2 rather than 8.3 in the manual for v28. One contributing factor is probably that all plugins need new releases to declare PHP 8.3 support. * Fix upgradeWarning for installing v27 now that v28 is out. * Drop upgrade warning for v24. This one is EOL for quite a while already, so right now everybody should've switched (or carefully studied the release notes in case they were upgrading from <23.05) and we can clean up the module a little bit. v25 was dropped not so long ago, so if it's still referenced (because somebody didn't declare `services.nextcloud.package` and has `system.stateVersion = "22.11";`) it's appropriate to still give a specialized error.
| * | | nextcloud28: init at 28.0.0Robert Schütz2023-12-13
| | | |
* | | | Merge pull request #274110 from networkException/sysctl-net.core.wmem_maxLin Jian2023-12-14
|\ \ \ \ | | | | | | | | | | nixos/{sysctl,caddy}: improvements for net.core.wmem_max
| * | | | nixos/caddy: also increase socket send buffer size as recommended by upstreamnetworkException2023-12-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this patch adjusts the `boot.kernel.sysctl."net.core.wmem_max"` to match the value suggested in the quic-go wiki, just as `"net.core.wmem_max"`. see fdfdc5df21d3df985b751bc61929e2305882dd48 see https://github.com/quic-go/quic-go/issues/3923
| * | | | nixos/sysctl: use highest value on conflict for net.core.wmem_maxnetworkException2023-12-15
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we previously defined a custom type for `boot.kernel.sysctl."net.core.rmem_max"` to resolve to the highest value set. this patch adds the same behavior to `"net.core.wmem_max"`. as this changes the type from a string to an integer, which is a breaking change this patch also includes a release note and updates the transmission module to use a number for `wmem_max`.
* | | | Merge pull request #274315 from emilylange/fix-nixos-node-redWeijia Wang2023-12-15
|\ \ \ \ | | | | | | | | | | nixos/node-red: fix `cfg.package` default value
| * | | | nixos/node-red: fix `cfg.package` default valueemilylange2023-12-14
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following eval error: ``` error: nodePackages.node-red cannot be found in pkgs ``` when having `services.node-red.enable = true;` without specifying `services.node-red.package`, just like the nixos VM test. Follow-up of f509382c11ed445b52f249efa6e2fe66d1b56fa7, which attempted to fix this as well. Breakage introduced in 0a37316d6cfea44280f4470b6867a711a24606bd.
* | | | Merge pull request #257504 from SuperSandro2000/postgres-docThomas Gerbet2023-12-15
|\ \ \ \ | |/ / / |/| | | nixos/postgresql: point doc link to current like all others
| * | | nixos/postgresql: point doc link to current like all othersSandro Jäckel2023-11-20
| | | |
* | | | Merge pull request #274236 from flokli/udev-path-default-optionFlorian Klink2023-12-14
|\ \ \ \ | | | | | | | | | | nixos/udev: update defaultText for services.udev.path
| * | | | nixos/udev: update description for services.udev.pathFlorian Klink2023-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | services.udev.path already contains some defaults, these are however defined in the module implementation, not options. Update the description to make this more clear.
* | | | | Merge pull request #274088 from NickCao/synapseMaximilian Bosch2023-12-14
|\ \ \ \ \ | |/ / / / |/| | | | treewide: replace references to matrix-org/synapse with element-hq/synapse
| * | | | nixos/matrix-synapse: update broken link to redis related docsNick Cao2023-12-13
| | | | |
| * | | | nixos/matrix-synapse: replace references to matrix-org/synapse with ↵Nick Cao2023-12-13
| | | | | | | | | | | | | | | | | | | | element-hq/synapse
* | | | | Merge pull request #267693 from nbraud/nixos/wpa_supplicant/umaskLinus Heckemann2023-12-14
|\ \ \ \ \ | | | | | | | | | | | | nixos/wpa_supplicant: Ensure the generated config isn't world-readable
| * | | | | nixos/wpa_supplicant: Ensure the generated config isn't world-readablenicoo2023-12-09
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise, `environmentFile` cannot be used to pass secrets in.
* | | | | | Merge pull request #270084 from Atemu/nixos/snapraid-top-levelLinus Heckemann2023-12-14
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/snapraid: remove from top-level
| * | | | | | nixos/snapraid: remove from top-levelAtemu2023-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't use this tool but saw it in the top level and that's not where it should live. This could arguably also be seen as a RAID; it's a bit of an in-between.
* | | | | | | Merge pull request #270523 from m-bdf/river-xdg-portal-configLinus Heckemann2023-12-14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | nixos/river: add xdg.portal.config
| * | | | | | | nixos/river: add xdg.portal.configMaëlys Bras de fer2023-11-28
| | | | | | | |
* | | | | | | | Merge pull request #270704 from Avaq/avaq/vdirsync-fix-statuspathLinus Heckemann2023-12-14
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | nixos/vdirsyncer: fix config.statusPath option
| * | | | | | | | nixos/vdirsyncer: fix config.statusPath optionAldwin Vlasblom2023-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `services.vdirsyncer.jobs.<name>.config.statusPath` option was making the appropriate changes to the systemd service options, but not to the vdirsyncer config file.
* | | | | | | | | Merge pull request #274013 from philiptaron/fixing-thingsLassulus2023-12-14
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | nixos/jigasi: update to use literalExpression
| * | | | | | | | | nixos/jigasi: update to use literalExpressionPhilip Taron2023-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I saw this trace when building my system configuration this morning: ``` lazy-options.json> trace: warning: literalExample is deprecated, use literalExpression instead, or use literalMD for a non-Nix description. ``` This warning was introduced in https://github.com/NixOS/nixpkgs/pull/237557. The option this commit changes was introduced in https://github.com/NixOS/nixpkgs/pull/137003.
* | | | | | | | | | nixos/qmk: ensure plugdev groups existstv2023-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMK's udev rules are setting hidraw devices's group to plugdev.
* | | | | | | | | | nixos/users-groups: fix confusing error messageAlyssa Ross2023-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we include users with unset groups, we get this very confusing message, with invalid Nix code: - The following users have a primary group that is undefined: qyliss Hint: Add this to your NixOS configuration: users.groups. = {}; We don't need to include such users in this check, since they'll be caught anyway by this one: - users.users.qyliss.group is unset. This used to default to nogroup, but this is unsafe. For example you can create a group for this user with: users.users.qyliss.group = "qyliss"; users.groups.qyliss = {};
* | | | | | | | | | Merge pull request #273834 from ajs124/restic-wrappers-append-pathJanik2023-12-13
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | | | nixos/restic: append PATH in wrappers instead of overwriting
| * | | | | | | | | nixos/restic: append PATH in wrappers instead of overwritingajs1242023-12-13
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | fixes "mount"
* | | | | | | | | Merge pull request #269551 from tejing1/nixos-stub-ldRobert Hensing2023-12-13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | nixos/stub-ld: init module
| * | | | | | | | | nixos/stub-ld: init moduleJeff Huffman2023-12-11
| | | | | | | | | |
| * | | | | | | | | nixos/ldso: init moduleJeff Huffman2023-12-03
| | | | | | | | | |
* | | | | | | | | | Merge pull request #253184 from tilpner/prometheus-headersJanne Heß2023-12-13
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | nixos/prometheus: add remote{Read, Write}.headers options
| * | | | | | | | | | nixos/prometheus: add remote{Read, Write}.headers optionstilpner2023-09-03
| | | | | | | | | | |
* | | | | | | | | | | nixos/hyprland: remove enableNvidiaPatches optionMihai Fufezan2023-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hyprland now works on Nvidia without patching.
* | | | | | | | | | | Merge pull request #273698 from foo-dogsquared/fix-guix-gc-serviceWeijia Wang2023-12-13
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / |/| | | | | | | | | | nixos/guix: fix GC service
| * | | | | | | | | | nixos/guix: remove Service.MemoryDenyWriteExecute for GC serviceGabriel Arazas2023-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guile 3 uses JIT needing write and execute permissions.
* | | | | | | | | | | Merge pull request #273951 from schnusch/nixos/tinyproxyNick Cao2023-12-13
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nixos/tinyproxy: fix services.tinyproxy.package
| * | | | | | | | | | | nixos/tinyproxy: fix services.tinyproxy.packageschnusch2023-12-13
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #273878 from numinit/nebula-startup-raceNick Cao2023-12-13
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | nixos/nebula: wait for start notification to prevent startup race
| * | | | | | | | | | | | nixos/nebula: wait for start notification to prevent startup raceMorgan Jones2023-12-12
| |/ / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #272679 from flokli/jenkins-statedirFlorian Klink2023-12-13
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | nixos/jenkins: set StateDirectory if home is /var/lib/jenkins
| * | | | | | | | | | | nixos/jenkins: set StateDirectory if home is /var/lib/jenkinsFlorian Klink2023-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will cause systemd to chown /var/lib/jenkins to the user that the jenkins systemd service runs as, fixing permission issues when mounting /var/lib/jenkins from another data volume. It uses the same logic that garage is using, too, checking for the prefix.
* | | | | | | | | | | | Merge pull request #273693 from lopsided98/syncthing-database-dirKira Bruneau2023-12-12
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / |/| | | | | | | | | | | nixos/syncthing: add `databaseDir` option