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
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
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
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
s-sinnlos
08c9bcc627
nixos/ddclient: Update link to protocols documentation
...
Link to maintained docs on https://ddclient.net/
2023-12-10 00:38:57 +01:00
Lassulus
b8ca5f4f46
Merge pull request #137003 from yayayayaka/add-pkg-jigasi
...
jigasi: init at 1.1-311-g3de47d0 + module
2023-12-09 02:28:50 +01:00
Maciej Krüger
a2595d975f
Merge pull request #272508 from jacobgreenleaf/jg-teamspeak3-protos
2023-12-08 18:17:37 +01:00
Nick Cao
d79786694d
Merge pull request #270355 from sinanmohd/iwd-resolvconf
...
nixos/iwd: fix broken dhcp dns configuration
2023-12-08 10:58:25 -05:00
sinanmohd
d173469d3b
nixos/iwd: fix broken dhcp dns configuration
2023-12-08 18:00:29 +05:30
Yaya
c84f3a33b4
nixos/jigasi: init
2023-12-07 13:36:53 +00:00
Peder Bergebakken Sundt
7a8ee53fdb
Merge pull request #269908 from pbsds/fix-ejabberd-1700922829
...
nixos/ejabberd: ensure erlang cookie is made
2023-12-07 10:18:37 +01:00
Jacob Greenleaf
ed67e22139
nixos/teamspeak3: SSH and HTTP ip+port options
...
ServerQuery actually listens on three separate addresses each
corresponding to its own protocol (raw/telnet, ssh, and http). By only
setting `query_addr` we only update what IP we listen on for the raw
protocol, not ssh and http protocols which end up listening on the
default wildcard address.
This change simply makes it so that setting `queryIP` sets the IP for
all three protocols by setting each corresponding option (`query_ip`,
`query_ssh_ip` and `query_http_ip`).
2023-12-06 08:31:38 -08:00
Jörg Thalheim
bd88398369
nixos/harmonia: allocate user
...
DynamicUser seem to broken in combination with the nix-daemon.
2023-12-06 12:56:35 +01:00
Sandro Jäckel
bba808dbfa
nixos/avahi-daemon: resolve mdns only over enabled protocols, disable ipv6 by default
...
see https://github.com/lathiat/nss-mdns#:~:text=in%20such%20a%20situation%20causes%20long%20timeouts%20when%20resolving%20hosts
especially:
> libnss_mdns.so.2 resolves both IPv6 and IPv4 addresses, libnss_mdns4.so.2 only IPv4 addresses and
> libnss_mdns6.so.2 only IPv6 addresses. Due to the fact that most mDNS responders only register local IPv4
> addresses via mDNS, most people will want to use libnss_mdns4.so.2 exclusively. Using libnss_mdns.so.2
> or libnss_mdns6.so.2 in such a situation causes long timeouts when resolving hosts since most modern
> Unix/Linux applications check for IPv6 addresses first, followed by a lookup for IPv4.
2023-12-05 21:51:12 +01:00
Emily
a0ba4615da
Merge pull request #270467 from nalves599/269944-keepalived-firewall
...
nixos/keepalived: add openFirewall option
2023-12-03 20:37:09 +01:00
Nuno Alves
24d9151d15
nixos/keepalived: add openFirewall option
...
Allow VRRP and AH (authentication packets) through the firewall
automatically if the option is set.
2023-12-02 22:42:12 +00:00
h7x4
79d3d59f58
treewide: replace mkPackageOptionMD
with mkPackageOption
2023-11-30 19:03:14 +01:00
Weijia Wang
feeae486de
Merge pull request #261702 from h7x4/replace-mkoption-with-mkpackageoption
...
treewide: use `mkPackageOption`
2023-11-30 02:49:30 +01:00
Maciej Krüger
7cc312f18b
Merge pull request #265730 from nbraud/nixos/sudo-rs/x2goserver
...
nixos/x2goserver: Support sudo-rs
2023-11-28 01:37:05 +01:00
h7x4
0a37316d6c
treewide: use mkPackageOption
...
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
Ivan Mincik
df254b2dd2
nixos/tmate-ssh-server: fix tmate-client-config script
2023-11-26 09:34:51 +01:00
Peder Bergebakken Sundt
2ca79e7f9d
nixos/ejabberd: ensure erlang cookie is made
...
Apply the same fix as found in `couchdb` and `rabbitmq`.
2023-11-25 15:41:42 +01:00
Maciej Krüger
7b1e146a49
Merge pull request #266477 from duament/nixos-nat-nftables
...
nixos/nat: fix nat-nftables
2023-11-25 12:58:48 +01:00
Vincent Ambo
b2f67d3f48
nixos/nix-serve: fix module compatibility with unflaked Nix
...
The option `extra-allowed-users` was introduced in Nix 2.4, and fails
config validation on Nix 2.3.
2023-11-23 00:03:31 +03:00
Atemu
cfe0155154
Merge pull request #268324 from Janik-Haag/nixos-firewall-tool
...
nixos/firewall: install nixos-firewall-tool for iptables by default
2023-11-20 23:23:24 +01:00
Jonas Chevalier
c57a434386
maintainers: remove the numtide team ( #268684 )
...
It doesn't really make sense for us as team members are focused on
different things. At the end of the day it's the individuals that do the
work.
2023-11-20 22:27:26 +01:00
Nick Cao
90ef10b571
Merge pull request #253918 from tie/centrifugo
...
centrifugo: init at 5.1.1
2023-11-20 08:59:54 -05:00
Ivan Trubach
3be1aab86f
centrifugo: init at 5.1.1
2023-11-20 10:18:21 +03:00
Artturi
0bd183e065
Merge pull request #268110 from tyxieblub/squid-service
2023-11-19 23:32:10 +02:00
Ryan Lahfa
ff3b480354
Merge pull request #252117 from nalves599/252116-pixiecore-firewall
2023-11-19 16:16:54 +01:00
Adrian Pistol
b30601bba2
nixos/chrony: Add missing rtcsync assertion.
...
Due to a lot of rebasing, I dropped my added assertion in #259405 . This is important.
2023-11-19 09:08:26 -06:00
Artturi
8896579a83
Merge pull request #264521 from stephen-huan/mullvad-vpn-resolvconf
2023-11-18 21:47:51 +02:00
Janik H.
fa9cdc83ab
nixos/firewall: install nixos-firewall-tool for iptables by default
2023-11-18 17:08:30 +01:00
William McKinnon
869fb56797
nixos/syncthing: respect the dataDir option
...
The previous -home argument worked as such:
"Set common configuration and data directory. The default configuration directory is $HOME/.config/syncthing (Unix-like), $HOME/Library/Application Support/Syncthing (Mac) and %LOCALAPPDATA%\Syncthing (Windows)"
This resulted in syncthing not respecting different home and data dirs
declared in its config. The default behaviour will remain the same, as
we set the datadir default value to homeDir + .config/syncthing.
2023-11-17 22:58:46 +01:00
joris
18f3c1fb55
services/squid: explicit usage of coreutils' kill on ExecReload
2023-11-17 13:55:21 +01:00
Vladimír Čunát
0fe5300699
Merge branch 'master' into staging-next
2023-11-16 09:49:24 +01:00
Lin Jian
bf8a6ad72c
Merge pull request #265733 from nbdd0121/unbound
...
nixos/unbound: fix wrong syscall filter and tighten sandbox
2023-11-16 14:38:46 +08:00
Adrian Pistol
7a1d45811e
nixos/chrony: Let Chrony control/track RTC drift
2023-11-15 15:09:22 -06:00
Weijia Wang
1a85914512
Merge pull request #266528 from lucasbergman/unifi-jvmoptions
...
nixos/unifi: Add the ability to specify extra JVM options
2023-11-15 17:53:25 +01:00
Martin Weinelt
3c336a1647
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/development/libraries/gdcm/default.nix
2023-11-14 13:16:34 +01:00
Jörg Thalheim
54fd866569
nixos/harmonia: set extra-allowed-users
...
This fixes the case where users enable harmonia but also have allowed-users set.
Having extra-allowed-users is a no-op when nix.settings.allowed-users is set to "*" (the default)
2023-11-14 10:37:39 +01:00
Weijia Wang
74d102ce50
Merge branch 'master' into staging-next
2023-11-12 19:45:20 +01:00
Jörg Thalheim
44cf4801c0
nixos/nix-serve: also set extra-allowed-users
...
This fixes the case where users enable nix-serve but also have allowed-users set.
Having extra-allowed-users is a no-op when nix.settings.allowed-users is set to "*" (the default)
2023-11-12 14:09:31 +01:00
Lucas Bergman
07828dc05b
nixos/unifi: Add extraJvmOptions option
...
This can be useful for adding extra logging, tweaking garbage collector
parameters, and for using JMX to monitor the JVM.
2023-11-12 00:38:10 +00:00
Lucas Bergman
50ff8ff3f9
nixos/unifi: Switch command line args to a list
...
There's no functionality change here, but this makes it a bit more
convenient to add more args.
2023-11-12 00:32:50 +00:00
Lucas Bergman
2bc02c0383
nixos/unifi: Clean up formatting
...
This removes "with lib", which advances #208242 a bit, and cleans up a few
formatting nits found by nixfmt.
2023-11-12 00:28:40 +00:00
github-actions[bot]
9776723357
Merge master into staging-next
2023-11-11 18:00:58 +00:00
K900
e792d7fec0
Merge pull request #264442 from anthonyroussel/update-url-redirects
...
treewide: fix redirected and broken URLs
2023-11-11 18:08:59 +03:00
github-actions[bot]
652204165d
Merge master into staging-next
2023-11-11 12:00:58 +00:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
...
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00