Commit Graph

37503 Commits

Author SHA1 Message Date
Florian Klink
4b9c610ec1
Merge pull request #274236 from flokli/udev-path-default-option
nixos/udev: update defaultText for services.udev.path
2023-12-14 18:14:02 +02:00
Florian Klink
cb0fb74a2b nixos/udev: update description for services.udev.path
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.
2023-12-14 18:09:54 +02:00
Maximilian Bosch
3a360cf8a1
Merge pull request #274088 from NickCao/synapse
treewide: replace references to matrix-org/synapse with element-hq/synapse
2023-12-14 17:00:58 +01:00
Linus Heckemann
ed25c9936e
Merge pull request #267693 from nbraud/nixos/wpa_supplicant/umask
nixos/wpa_supplicant: Ensure the generated config isn't world-readable
2023-12-14 15:09:22 +01:00
Linus Heckemann
f66d2b11d7
Merge pull request #270084 from Atemu/nixos/snapraid-top-level
nixos/snapraid: remove from top-level
2023-12-14 14:51:04 +01:00
Linus Heckemann
4f5aa65af5
Merge pull request #270444 from NukaDuka/cephfs-mount-fix
ceph: use absolute binary paths instead of relative paths
2023-12-14 14:12:28 +01:00
Linus Heckemann
1f42f70866
Merge pull request #270523 from m-bdf/river-xdg-portal-config
nixos/river: add xdg.portal.config
2023-12-14 14:07:08 +01:00
Linus Heckemann
feed24c54b
Merge pull request #270704 from Avaq/avaq/vdirsync-fix-statuspath
nixos/vdirsyncer: fix config.statusPath option
2023-12-14 13:56:34 +01:00
Lassulus
091033d6c6
Merge pull request #274013 from philiptaron/fixing-things
nixos/jigasi: update to use literalExpression
2023-12-14 12:53:10 +01:00
tv
4fc44b7ddf nixos/qmk: ensure plugdev groups exists
QMK's udev rules are setting hidraw devices's group to plugdev.
2023-12-14 10:01:19 +01:00
Jacek Galowicz
66ca9c90e2
Merge pull request #267937 from SomeoneSerge/fix/test-driver-activestate
nixos/lib/test-driver: make wait_for_unit ask for ActiveState only
2023-12-14 06:55:06 +01:00
Alyssa Ross
59dc10b5a6 nixos/users-groups: fix confusing error message
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 = {};
2023-12-14 02:08:16 +01:00
Nick Cao
ee4176d325
nixos/matrix-synapse: update broken link to redis related docs 2023-12-13 18:02:47 -05:00
Nick Cao
3d7e5f4f26
nixos/matrix-synapse: replace references to matrix-org/synapse with element-hq/synapse 2023-12-13 17:50:37 -05:00
Morgan Jones
49ebc3878e
nixos/nebula: tests: revert wait_for_unit 2023-12-13 14:50:03 -08:00
Janik
27bcbd780f
Merge pull request #273834 from ajs124/restic-wrappers-append-path
nixos/restic: append PATH in wrappers instead of overwriting
2023-12-13 23:15:50 +01:00
Robert Hensing
bef10a5ace
Merge pull request #269551 from tejing1/nixos-stub-ld
nixos/stub-ld: init module
2023-12-13 22:36:30 +01:00
Janne Heß
6ad3977ec9
Merge pull request #253184 from tilpner/prometheus-headers
nixos/prometheus: add remote{Read, Write}.headers options
2023-12-13 21:53:52 +01:00
Mihai Fufezan
79ddf33f84 nixos/hyprland: remove enableNvidiaPatches option
Hyprland now works on Nvidia without patching.
2023-12-13 21:16:16 +01:00
Weijia Wang
09beff8fb5
Merge pull request #273698 from foo-dogsquared/fix-guix-gc-service
nixos/guix: fix GC service
2023-12-13 17:43:44 +01:00
Philip Taron
36ac922271
nixos/jigasi: update to use literalExpression
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.
2023-12-13 08:20:59 -08:00
ajs124
be0a6b0dd6 nixos/restic: append PATH in wrappers instead of overwriting
fixes "mount"
2023-12-13 16:24:50 +01:00
Nick Cao
6f78967190
Merge pull request #273951 from schnusch/nixos/tinyproxy
nixos/tinyproxy: fix services.tinyproxy.package
2023-12-13 09:41:21 -05:00
Nick Cao
223b0a4fd7
Merge pull request #273878 from numinit/nebula-startup-race
nixos/nebula: wait for start notification to prevent startup race
2023-12-13 09:16:30 -05:00
Gabriel Arazas
9c423e191f nixos/guix: add test for GC service 2023-12-13 14:27:08 +01:00
Florian Klink
ec836d5ff3
Merge pull request #272679 from flokli/jenkins-statedir
nixos/jenkins: set StateDirectory if home is /var/lib/jenkins
2023-12-13 15:16:13 +02:00
Florian Klink
70808d0217 nixos/jenkins: set StateDirectory if home is /var/lib/jenkins
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.
2023-12-13 15:15:50 +02:00
schnusch
1cf853b9de nixos/tinyproxy: fix services.tinyproxy.package 2023-12-13 11:50:27 +01:00
Valentin Gagarin
6d3f2550fd
Merge pull request #273384 from nbraud/doc/system-state
nixos/doc: Add chapter “necessary system state”
2023-12-13 08:54:09 +01:00
zowoq
da353681bd telegraf: 1.28.5 -> 1.29.0
Diff: https://github.com/influxdata/telegraf/compare/v1.28.5...v1.29.0

Changelog: https://github.com/influxdata/telegraf/blob/v1.29.0/CHANGELOG.md
2023-12-13 08:49:02 +01:00
Morgan Jones
5fd6ebdbef
nixos/nebula: wait for start notification to prevent startup race 2023-12-12 19:25:38 -08:00
Kira Bruneau
8ee593f8d9
Merge pull request #273693 from lopsided98/syncthing-database-dir
nixos/syncthing: add `databaseDir` option
2023-12-12 20:55:34 -05:00
nicoo
6012fe8f2d nixos/doc/manual: Rework nixos-state.section.md 2023-12-12 23:06:10 +00:00
nicoo
22cb8a1712 nixos/doc/manual: Add /var/lib/nixos under “Necessary system state” 2023-12-12 23:04:32 +00:00
nicoo
735481ef6b nixos/doc: Add chapter “necessary system state”
Suggested in the discussion of #268995.
2023-12-12 23:04:32 +00:00
Bobby Rong
af99a04cd4
Merge pull request #273584 from bobby285271/upd/flatpak
flatpak: 1.14.4 → 1.14.5
2023-12-12 23:49:01 +08:00
Lin Yinfeng
fa2d2bbe6d
nixos/iproute2: add release note for the backward compatibility caused by stateless configuration 2023-12-12 23:31:51 +08:00
Lin Yinfeng
b21e84ea8d
nixos/iproute2: use rt_tables.d to avoid IFD 2023-12-12 23:31:25 +08:00
Ryan Lahfa
3bb93fb2cd
Merge pull request #271506 from Misterio77/nginx-redirect-status-code 2023-12-12 14:05:33 +01:00
Gabriel Arazas
5fb40a5816
nixos/guix: remove Service.MemoryDenyWriteExecute for GC service
Guile 3 uses JIT needing write and execute permissions.
2023-12-12 10:19:37 +08:00
Ben Wolsieffer
ded5462398 nixos/syncthing: add databaseDir option
#264753 mistakenly used the dataDir option to set the -data argument.
This broke existing configurations because -data used to be set to
configDir (implicitly, using the -home option, which is equivalent to
setting -config and -data to the same value).

Fix this by introducing a new databaseDir option sets -data and defaults
to configDir. This maintains the existing behavior by default while
still allowing users to specify separate config and database
directories.
2023-12-11 20:52:37 -05:00
Martin Weinelt
a0f49243e4
Merge pull request #273510 from rnhmjoj/pr-fix-ping
nixos/networking-interfaces: fix rootless ping
2023-12-11 20:47:49 +01:00
Vladimír Čunát
120a26f8ce
Merge #271377: staging-next 2023-12-01 2023-12-11 17:06:16 +01:00
Bobby Rong
9ed63709bc
flatpak: 1.14.4 → 1.14.5
https://github.com/flatpak/flatpak/compare/1.14.4...1.14.5

This contains build fix for AppStream 1.0.
2023-12-11 23:58:03 +08:00
Gabriel Fontes
a3c60d2ddc
nixos/nginx: make redirect status code configurable
Add an option to configure which code globalRedirect and forceSSL use.
It previously was always 301 with no easy way to override.
2023-12-11 11:09:02 -03:00
SharzyL
497903264e
nixos/firejail: fix typo 2023-12-11 21:47:43 +08:00
Kartik Gokte
41b27d7f4b nixosTests.ceph-single-node: remove dashboard check
Due to an [issue](https://www.spinics.net/lists/ceph-users/msg77812.html) with the cryptography python library, Ceph Dashboard and other mgr modules are currently broken, which will cause this test to always fail. Removing the check resolves this issue, and brings the test in line wit^Cthe other Ceph tests, which do not contain the dashboard check.
2023-12-11 19:11:20 +05:30
rnhmjoj
cdc24ab409
nixos/networking-interfaces: fix rootless ping
In 759ec111 the ping setuid wrapper was removed in favour of giving
permissions to perform ICMP echo requests to all users.
The problem is that the systemd file that was supposed to change the
`net.ipv4.ping_group_range` sysctl is not always installed, specifically
only if systemd.coredump.enable.
In that case the range is "0 1", which is effectively restricts ping to
only root.

This change explicitely sets the range to "0 2^31-1", as systemd does.
2023-12-11 13:22:26 +01:00
github-actions[bot]
6ac7b9234a
Merge master into staging-next 2023-12-11 12:01:23 +00:00
Jeff Huffman
0863f6d2da
nixos/stub-ld: init module 2023-12-11 05:47:23 -05:00