186 Commits
Author SHA1 Message Date
Hythera a08d0192d8 maintainers: remove f4814n 2026-06-20 22:17:13 +02: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
Adam DinwoodieandPhilip Taron b3981c0896 requireFile: don't perform Bash expansion
When printing the error message with instructions to manually obtain a
fixed-output derivation using requireFile, print the string as escaped
using `escapeShellArg`, rather than using a here-doc where Bash
expansion will be performed.

This permits passing instructions that contain characters that Bash
would normally expand without needing to escape them (or even know that
they need escaping from Bash), for example instructions referencing
`$PWD`.

Document this in the current release notes, and update existing
requireFile calls that perform this now-unnecessary escaping.  In
passing, fix up a couple of minor message errors.
2026-04-11 11:18:18 -07:00
Wolfgang WaltherandGitHub fea5e1f7c1 various: add {file} tags for nixos option descriptions (#455811) 2026-02-10 10:01:28 +00:00
LRFLEW c4edd6575f nixos/terraria: add package option 2026-02-05 02:23:07 -06:00
Aliaksandr ed1d17fad1 archisteamfarm: rename, move to by-name 2026-02-02 12:53:34 +02: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
NAHO a2ed7e8d88 nixos: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --exclude doc/manual/release-notes \
      --type file \
      . \
      nixos \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2026-01-15 16:07:55 +01:00
Tobias M e45b6bb9dd treewide: replace networking.target with network.target
We do not create networking.target anywhere ourselves and it is not one
of the default targets defined in systemd.special(7).
References to networking.target are therefore most likely typos and
meant to refer to network.target, which does exist.
2025-11-28 22:05:25 +01:00
Pascal Bach aa9a65b0ba nixos/minetest-server: use luanti package
Adapt the module to the changes introduced in https://github.com/NixOS/nixpkgs/pull/400372
2025-11-03 22:09:27 +01:00
h7x4andGitHub 39e93806aa Revert "various: replace systemd.services.<name>.{script,preStart} with ExecStart{,Pre}" 2025-10-31 11:03:32 +01:00
h7x4 a6e1ec3a9b nixos/minetest-server: replace systemd script with ExecStart 2025-10-27 18:52:02 +09:00
Jeremy Stucki 6b3460f0b1 nixos/factorio: add extraArgs option 2025-10-15 18:00:36 +02: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
AleksanaandGitHub 4a915a2d6f nixos/minecraft-server: revert typo (#428487) 2025-07-26 16:03:27 +08:00
Andrew Kvalheim 1a8725be71 nixos/minecraft-server: revert typo
Partially reverts e03123d508
2025-07-25 18:11:04 -07:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sandro Jäckel f88e1c39e9 treewide: move StartLimitIntervalSec/StartLimitBurst to unitConfig 2025-07-03 15:48:28 +02:00
Peder Bergebakken Sundt c77ac9dfc3 treewide: fix typos 2025-06-02 16:07:07 +02:00
Rebecca KellyandRebecca Kelly b8a2f7fff9 deliantra-server: remove
I'm not really using or maintaining it anymore and it's getting increasingly bit-rotted.
2025-05-19 22:22:28 -04:00
MarcelandMarcel e03123d508 nixos/minecraft-server: update outdated links
The minecraft wiki moved to <https://minecraft.wiki>

https://www.reddit.com/r/Minecraft/comments/16r3y8x/the_minecraft_wiki_has_moved_from_fandom_to/
2025-05-09 14:09:50 +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](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/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
SandroandGitHub f961f717e7 nixos/minecraft-server: fix package example 2025-03-15 18:38:22 +01:00
Peder Bergebakken Sundt 527be14321 nixos/doc: convert links to manpages 2025-02-21 16:31:09 +01:00
dishandValentin Gagarin 4185cf8ade nixos/mchprs: fix documentation link formatting 2025-02-12 21:03:21 +01:00
nicooandGitHub f6c5531461 nixos: Don't set !allowSubstitutes (#314664)
It is set by `runCommandLocal` and prevents fetching the build output
from `cache.nixos.org` or another trusted substituter.
2024-12-12 18:26:24 +00:00
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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
SandroandGitHub 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ühlerandGitHub e65bab0ec8 nixos/services.factorio: remove with lib; (#338052) 2024-08-30 00:42:22 +02:00
Philip TaronandGitHub 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 SundtandGitHub 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