Commit Graph

216 Commits

Author SHA1 Message Date
Sandro
a0b22562be nixos/transmission: wait for network-online.target (#549589) 2026-08-10 21:57:34 +00:00
Thiago Kenji Okada
ab1172d03a nixos/rtorrent: network.port_{range,random}.set -> network.listen.port.{range,random}.set 2026-08-09 14:49:27 +01:00
AstroSnail
10be65e30c nixos/transmission: wait for network-online.target
Transmission seems to have trouble opening Local Peer Discovery
listeners when it starts before the network is fully up.

Delaying it until after network-online.target seems to fix it, and this
appears to be the same solution found in the service file from upstream.

Fixes #549497.
2026-08-05 16:39:14 +00:00
Marco Ceresa
2e79337629 nixos/qbittorrent: clarify profileDir option documentation 2026-07-26 11:08:13 -04:00
Eman Resu
b24b67fec5 nixos/qbittorrent: drop trailing slash from profileDir (#525469) 2026-07-26 14:22:44 +00:00
Niols
692daeac48 nixos/rtorrent: remove deprecated commands from default config
Assisted-by: DeepSeek V4 Flash (via OpenCode Zen)
2026-07-15 08:28:12 +02:00
isabel
ec1fc73c9d nixos/bitmagnet: Use up to date configuration values, add restart trigger (#483029) 2026-06-04 17:46:17 +00:00
r-vdp
658f5a6a2d nixos/transmission: drop stale activationScripts reference from docs
Part of #475305.
2026-06-03 20:03:07 +03:00
Connor Grady
084c166151 nixos/qbittorrent: drop trailing slash from profileDir 2026-05-29 02:19:59 -05:00
Aaron Andersen
9e822089b8 nixos/transmission: update systemd service based on upstream 2026-05-13 16:21:39 -04:00
Michael Daniels
2e87c2f8f4 nixos/*: remove unused let bindings
Generated using deadnix (with some manual work); split from #514611.
2026-05-01 20:39:14 -04:00
kashw2
e76ee72067 nixos/flood: add AF_NETLINK to RestrictedAddressFamilies 2026-04-14 19:03:42 +10:00
Bart Louwers
b937356742 transmission: fix dead link in description 2026-04-05 21:35:06 +02:00
K900
e1e711ec17 nixos/qbittorrent: just copy the config file in ourselves
tmpfiles won't replace existing files, so we have to DIY it.

Fixes #503103.
2026-03-25 09:30:39 +03:00
Dan Lock
f887f639e2 nixos/bitmagnet: Use up to date configuration values, and open http
port, add restart trigger
2026-03-17 20:07:40 +00:00
K900
7800817f37 nixos/qbittorrent: use a file again, just be smarter about it
This avoids a massive warning splat about escape sequences
if there's any in the config, and also a massive tmpfiles config
and a massive restartTriggers, while keeping the core of the fix
intact.
2026-03-12 13:27:59 +03:00
Sandro
7f629f7649 nixos/qbittorrent: copy config instead of symlinking to nix store (#482534) 2026-03-11 23:33:53 +00:00
dish
1148b3266f nixos/peerflix-server: Use top-level peerflix-server package
No need to use it from nodePackages since that package set is deprecated
and it's an alias now.
2026-03-03 17:15:56 -05:00
Simon Gardling
cfd371b383 nixos/qbittorrent: use tmpfiles to write config instead of symlinking to nix store 2026-03-03 10:54:54 -05:00
noonamer
f04ace3912 nixos/cross-seed: allow null outputDir 2026-02-12 18:13:32 +00:00
Wolfgang Walther
fea5e1f7c1 various: add {file} tags for nixos option descriptions (#455811) 2026-02-10 10:01:28 +00:00
r-vdp
314c912811 nixos/transmission: replace activationScript by a systemd unit
See https://github.com/NixOS/nixpkgs/issues/475305
2026-01-31 18:50:29 +02:00
Dan Lock
084807da0f nixos/rqbit: init service module 2026-01-24 14:26:13 +00:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
h7x4
b36f8e0b79 various: add {file} tags for nixos option descriptions 2026-01-18 21:49:31 +09:00
Sandro
523d944ea9 nixos/qui: init service (#472934) 2026-01-16 17:01:45 +00:00
bas
f0f48f018d nixos/qui: init service 2026-01-08 09:05:52 +01:00
mal
d548008334 nixos/rtorrent: reorder chown SystemCallFilter
Fixes #445186 (again)
2025-12-29 19:23:43 -05:00
Thiago Kenji Okada
2063a8b903 nixos/rtorrent: add missing @chown in SystemCallFilter
Fix #445186.
2025-12-15 10:23:35 +00:00
K900
dfaf57caa0 nixos/qbittorrent: escape newlines in config values 2025-11-23 23:46:00 +03:00
ssoss
af42991dea treewide: update AppArmor policies
Update AppArmor policies to use modern conventions.
This includes
* Including abi version
* Adding conditional include of local/<name> policy file
* Use of the profile keyword
* Start file rules with a pathname

Author: ssoss <skyler.soss@gmail.com>
2025-11-08 17:21:31 +01:00
Emily
0c3f4b7d67 {libtransmission_3,transmission_3{,-gtk,-qt,_noSystemd},torrential}: drop
Unmaintained upstream and it’s been a year since we started migrating
to Transmission 4. Let’s not carry networked software from half a
decade ago into 25.11.
2025-10-28 18:14:05 +00:00
Aliaksandr
f28be96fda treewide: mkAliasOptionModuleMD -> mkAliasOptionModule 2025-10-21 15:42:47 +03:00
Haylin Moore
cf540f8c98 treewide/nixos: move number typed port options to types.port 2025-09-08 15:27:19 +02:00
dish
970dcca69c treewide: Fix links in module documentation 2025-08-25 12:55:11 -04:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
bas
380cd5924b nixos/qbittorrent: add maintainer undefined-landmark
As discussed in PR #287923. The author agreed to add me as a maintainer
to the module after merging.
2025-07-22 17:37:56 +02:00
nuko
84d174e312 nixos/qbittorrent: init service module
nixos/qbittorrent: add default serverConfig & fix test

Migrate to runTest

Replace lib.optional with lib.optionals

nixos/qbittorrent: update release notes to 2511
2025-07-22 17:39:46 +12:00
Wolfgang Walther
41c5662cbe nixos/postgresql: move postStart into separate unit
This avoids restarting the postgresql server, when only ensureDatabases
or ensureUsers have been changed. It will also allow to properly wait
for recovery to finish later.

To wait for "postgresql is ready" in other services, we now provide a
postgresql.target.

Resolves #400018

Co-authored-by: Marcel <me@m4rc3l.de>
2025-06-24 15:26:47 +02:00
Paul Haerle
34c9f25081 nixos/transmission: use Type=notify for systemd service (#396630) 2025-05-06 18:02:48 +02:00
Bruno BELANYI
9cc26fef84 nixos/cross-seed: add 'useGenConfigDefaults'
This to me is the cleanest way of setting the default value and track
changes to the values from `cross-seed gen-config` with low churn.
2025-04-14 15:49:27 +00:00
Marie Ramlow
e39ab468e0 nixos/transmission: use Type=notify for systemd service 2025-04-06 21:19:39 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
shelvacu
1a4575f9db nixos/modules: Add security.pki.caBundle option and make all services use it for CA bundles (#352244)
Previously some modules used `config.environment.etc."ssl/certs/ca-certificates.crt".source`, some used `"/etc/ssl/certs/ca-certificates.crt"`, and some used `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"`. These were all bad in one way or another:

- `config.environment.etc."ssl/certs/ca-certificates.crt".source` relies on `source` being set; if `text` is set instead this breaks, introducing a weird undocumented requirement
- `"/etc/ssl/certs/ca-certificates.crt"` is probably okay but very un-nix. It's a magic string, and the path doesn't change when the file changes (and so you can't trigger service reloads, for example, when the contents change in a new system activation)
- `"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"` silently doesn't include the options from `security.pki`

Co-authored-by: Shelvacu <git@shelvacu.com>
2025-03-08 08:41:08 +00:00
Pedro Alves
579bf01c35 nixos/cross-seed: create outputDir 2025-02-23 17:38:23 +00:00
Pedro Alves
3b3bced9c5 nixos/cross-seed: init module 2025-02-20 09:51:26 +00:00
Peder Bergebakken Sundt
953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Philip Taron
7bb552f178 nixos/magnetico: fix eval 2025-01-01 12:13:36 -08:00
Felix Buehler
336a76b195 nixos/services.peerflix: remove with lib; 2024-12-30 12:09:45 +01:00
Felix Buehler
4db4628f76 nixos/services.opentracker: remove with lib; 2024-12-30 12:09:44 +01:00