1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
Commit graph

37485 commits

Author SHA1 Message Date
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
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
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
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
pennae 90c53f5341
Merge pull request #270224 from SuperSandro2000/patch-2
nixos/acme: add syntax highlighting to code blocks
2023-12-11 09:03:32 +01:00
Florian Klink 1c09cb43ce nixos/avahi: rename remaining config options
services.avahi.nssmdns got split into services.avahi.nssmdns{4,6},
nothing should access the old alias anymore so there's no eval warnings.

Reported in https://github.com/NixOS/nixpkgs/pull/258424#issuecomment-1849428869
2023-12-11 09:36:15 +02:00
github-actions[bot] b826485d29
Merge master into staging-next 2023-12-11 00:02:20 +00:00
Sandro 5a64fb2799
nixos/acme: add syntax highlighting to code blocks 2023-12-10 19:59:22 +01:00
Ryan Lahfa c36344b125
Merge pull request #272920 from SuperSandro2000/nginx-return 2023-12-10 19:38:18 +01:00
github-actions[bot] 1e8386407c
Merge master into staging-next 2023-12-10 18:01:10 +00:00
Jonas Heinrich b3eddb0c53
Merge pull request #272646 from onny/btrbk-stream-compress
nixos/btrbk: Add required stream_compress packages
2023-12-10 18:38:38 +01:00
Nick Cao d374eafed6
Merge pull request #273224 from s-sinnlos/ddclient-docs-fix
nixos/ddclient: Update link to protocols documentation
2023-12-10 11:48:54 -05:00
Nick Cao d8c2a3967b
Merge pull request #273273 from numinit/nebula-test-improvement
nixos/nebula: fix possibly flaky tests
2023-12-10 11:45:17 -05:00
Nick Cao 38304747b0
Merge pull request #272314 from NickCao/ppd
nixos/power-profiles-daemon: add package option
2023-12-10 11:34:46 -05:00
Martin Weinelt ebfca42b8b
Merge pull request #272576 from NixOS/home-assistant
home-assistant: 2023.11.3 -> 2023.12.0
2023-12-10 14:51:43 +01:00
Florian Klink 672d103402
Merge pull request #258424 from SuperSandro2000/nss-mdns-timeout
nixos/avahi-daemon: resolve mdns over only over ipv4
2023-12-10 15:34:14 +02:00
Robert Hensing 2339744b73
Merge pull request #242539 from hercules-ci/nixos-rebuild-repl
nixos-rebuild: Add `nixos-rebuild repl`
2023-12-10 14:30:24 +01:00
Martin Weinelt b55c45c43a
Merge pull request #273324 from azuwis/hass-lovelace
nixos/home-automation: really fix lovelace card entrypoint
2023-12-10 13:55:43 +01:00