Commit Graph

3589 Commits

Author SHA1 Message Date
Yonghan Ching 庄勇翰
097f2b6737 Update zerotierone.nix
Added option to write zerotier's local.conf in nix.
2023-12-19 12:34:03 +00:00
Franz Pletz
cbb38bf7b7
Merge pull request #264869 from h7x4/nixos-module-cleanup-quicktun
nixos/quicktun: clean up module, add tests
2023-12-15 20:14:39 +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
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
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
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
schnusch
1cf853b9de nixos/tinyproxy: fix services.tinyproxy.package 2023-12-13 11:50:27 +01:00
Morgan Jones
5fd6ebdbef
nixos/nebula: wait for start notification to prevent startup race 2023-12-12 19:25:38 -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
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
nicoo
a351c9b530 nixos/wpa_supplicant: Ensure the generated config isn't world-readable
Otherwise, `environmentFile` cannot be used to pass secrets in.
2023-12-09 21:33:55 +00: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
Aldwin Vlasblom
8efe6a71cb
nixos/vdirsyncer: fix config.statusPath option
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.
2023-11-28 18:54:49 +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