Commit Graph

158 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Sandro
d6e107169b
ArchiSteamFarm: 6.0.8.7 -> 6.1.0.3 (#361305) 2024-12-10 18:01:38 +01:00
Felix Buehler
ae5e538219 nixos/services.mchprs: remove with lib; 2024-12-08 13:21:52 +01:00
Ludovico Piero
4b5e02043f
nixos/archisteamfarm: add mincore to SystemCallFilter
Signed-off-by: Ludovico Piero <lewdovico@gnuweeb.org>
2024-12-07 03:31:21 +09:00
Wolfgang Walther
4255d7a658
nixos/archisteamfarm: remove dataDir fallback
Scheduled for 24.11.

Added in #272147.
2024-11-22 18:30:15 +01:00
Ben Millwood
c37e40d9ff nixos/factorio: add allowedPlayers
This writes a whitelist file and instructs the server process to use it.
I opted not to give the same treatment to the banlist because (as
explained in the comments) mutability and persistence seems more
important for bans, and they're less often known in advance.
2024-10-23 18:19:05 +01:00
Ben Millwood
43377c06f3 nixos/factorio: correct extraSettings example
"admins" isn't a server setting, so this example wouldn't actually work.
"max_players" is the first thing I saw in the [example server settings
file][1] that hasn't already been encoded in the options.

[1]: https://github.com/wube/factorio-data/blob/master/server-settings.example.json
2024-10-23 16:11:58 +01:00
eyjhb
a719f91a85
nixos/teeworlds: use lib.getExe instead of hardcoded path 2024-09-10 11:40:24 +02:00
eyjhb
e233e7d385
nixos/teeworlds: add option environmentFile for injecting secrets 2024-09-10 11:39:55 +02:00
Felix Buehler
e1281c7a9d nixos/services.factorio: fix escapeShellArg 2024-09-02 23:47:15 +02:00
Felix Bühler
e65bab0ec8
nixos/services.factorio: remove with lib; (#338052) 2024-08-30 00:42:22 +02:00
Philip Taron
117f3ceb51
treewide/nixos: remove with lib; part 1 (#335603) 2024-08-29 15:42:04 -07:00
Felix Buehler
e79224ab54 nixos/services.terraria: remove with lib; 2024-08-30 00:30:47 +02:00
Felix Buehler
3e001960eb nixos/services.minetest-server: remove with lib; 2024-08-30 00:30:47 +02:00
Felix Buehler
d93ebcfd04 nixos/services.minecraft-server: remove with lib; 2024-08-30 00:30:47 +02:00
Felix Buehler
d74605503f nixos/services.freeciv: remove with lib; 2024-08-30 00:30:47 +02:00
Felix Buehler
07d3ecf363 nixos/services.deliantra-server: remove with lib; 2024-08-30 00:30:47 +02:00
Felix Buehler
eb3a044360 nixos/services.crossfire-server: remove with lib; 2024-08-30 00:30:46 +02:00
Felix Buehler
40d905935e nixos/services.teeworlds: remove with lib; 2024-08-29 00:25:04 +02:00
Felix Buehler
09ac87ffd1 nixos/services.factorio: remove with lib; 2024-08-29 00:24:36 +02:00
Sandro Jäckel
316e779538
Revert "nixos/archisteamfarm: fix crash when web-ui is disabled"
This reverts commit 02e9c36e59.
2024-07-26 16:27:19 +02:00
Peder Bergebakken Sundt
26b1af9155
Merge pull request #318543 from TomaSajt/terraria-kill-service
nixos/terraria: kill session when stopping without world selected
2024-07-11 01:38:35 +02:00
éclairevoyant
aeee4fc133
treewide: replace mkPackageOptionMD with mkPackageOption 2024-06-26 23:05:42 -04:00
TomaSajt
f717ec04e0
nixos/terraria: kill session when stopping without world selected 2024-06-09 16:53:43 +02:00
Sandro Jäckel
e64cfbbf99
ArchiSteamFarm: 6.0.1.24 -> 6.0.3.4, switch to generic upstream variant to support Monitoring Plugin 2024-06-09 04:51:37 +02:00
Sandro Jäckel
02e9c36e59
nixos/archisteamfarm: fix crash when web-ui is disabled 2024-05-20 22:23:29 +02:00
stuebinm
6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Bjørn Forsman
a29010fe79 nixos: improve many 'enable' descriptions 2024-04-09 07:10:17 +02:00
Sandro
fde2616a88
Merge pull request #299656 from yunfachi/fix/archisteamfarm
nixos/archisteamfarm: fix empty check for bots
2024-04-03 21:21:21 +02:00
lassulus
a41e12cc9d
Merge pull request #286356 from Stunkymonkey/terraria-umask-group
nixos/terraria: prefer 'serviceConfig' over 'chmod/chgrp'
2024-04-03 21:05:22 +02:00
yunfachi
c79bb39f81 nixos/archisteamfarm: fix empty check for bots 2024-03-28 08:53:52 +03:00
Sandro
bbabfca453
Merge pull request #263765 from numinit/armagetronad-module
nixos/armagetronad: Add module with NixOS tests
2024-03-01 00:46:34 +01:00
Morgan Jones
a5c305d170
nixos/armagetronad: address code review feedback 2024-02-27 18:59:37 -08:00
Sandro
80e6bb31d5
Merge pull request #289956 from SuperSandro2000/archisteamfarm 2024-02-23 02:06:03 +01:00
Sandro Jäckel
69f51e028a
ArchiSteamFarm,nixos/ArchiSteamFarm: take maintainership
this is effectively already the case and I most updates in the last
months
2024-02-19 13:25:57 +01:00
Jeremy
e01eda6edd nixos/teeworlds: add more configuration options, revise
- add 'package' option
- add 'game' and 'server' attrset
- reduce repetition by using functions bool and optionalSetting
- add default value for cfg.name
- revise some option descriptions
2024-02-14 10:57:08 +13:00
LRFLEW
8b0d333f54
nixos/archisteamfarm: allow bots.*.passwordFile to be null (#284978)
* Make services.archisteamfarm.bots.*.passwordFile Nullable

This adds support for alternate password specification methods, such as through the web-ui.

* Update description for services.archisteamfarm.bots.*.passwordFile

Adds note about omitting or setting to null to provide the password through the web-ui.
2024-02-05 01:18:23 +01:00
Felix Buehler
016340590b nixos/terraria: prefer 'serviceConfig' over 'chmod/chgrp' 2024-02-04 21:27:01 +01:00
Morgan Jones
1dc5eb13b0
nixos/armagetronad: add module with tests 2024-01-28 13:58:05 -08:00
Sandro Jäckel
6d1d912716
nixos/archisteamfarm: drop with lib 2024-01-21 02:14:02 +01:00
Sandro Jäckel
2d324fc242
nixos/archisteamfarm: don't use asf abbreviation for more clarity 2024-01-21 02:14:00 +01:00
Peder Bergebakken Sundt
b8c62ab390
Merge pull request #271289 from Luflosi/teeworlds-module-reduce-closure
nixos/teeworlds: reduce closure size
2023-12-07 10:19:11 +01:00
Luflosi
efca3c0329
nixos/teeworlds: reduce closure size
Use `teeworlds-server` instead of `teeworlds`.
We don't need an entire GUI program just to run the server.
2023-11-30 19:26:35 +01:00
h7x4
79d3d59f58
treewide: replace mkPackageOptionMD with mkPackageOption 2023-11-30 19:03:14 +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
RTUnreal
decdfde011 improve documentation of new options 2023-11-21 20:52:30 +01:00
RTUnreal
648ffcecae fix some errors 2023-11-21 20:29:43 +01:00
RTUnreal
20e9267cbb factorio: add dynamic server-settings loading 2023-11-18 22:18:03 +01:00
Sandro Jäckel
b11e3eb7d1 nixos/asf: update hardening options to match upstream 2023-10-21 13:50:05 +02:00
Charles Hall
94a42157f4 nixos/xonotic: init 2023-09-24 22:54:59 -03:00