Commit graph

134 commits

Author SHA1 Message Date
Guillaume Girol 7a131bebe7 nixseparatedebuginfod: remove
in favor of nixseparatedebuginfod2

Reuse the same port so that rebuilding to the new module does not need a
reboot to update the env var.
2025-10-14 22:01:44 +02:00
Guillaume Girol 09ac18fbd3 nixos/nixseparatedebuginfod2: adapt to v1
several substituters are supported at the same time
2025-10-14 22:01:44 +02:00
Wolfgang Walther 91a8fee3aa
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
h7x4 f15acca831
nixos/distccd: use more accurate int types 2025-09-22 16:36:18 +02:00
h7x4 4ba3f60b8a
various: use mkPackageOption 2025-09-22 02:46:54 +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
Guillaume Girol 22bb61d1f8 nixos: add module for nixseparatedebuginfod2 2025-07-27 23:01:05 +02:00
Guillaume Girol ca548d4da9 nixos: make it possible for several modules to provide a debuginfod server
by introducing a `environment.debuginfodServers` option.
2025-07-27 23:01:05 +02:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Wolfgang Walther 62fe016519
treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
Sizhe Zhao c721b7dfe9
nixos/corteza: init 2025-07-01 19:01:16 +08: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
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
jopejoe1 dca7e827b3
nixos: Replace custom cfg format handling with pkgs.formats (#314933) 2025-03-14 21:08:14 +01:00
Christoph Honal 94a66f9416 nixos/vsmartcard-vcpd: init 2025-02-15 22:16:31 +01:00
Sandro b70ee4bd2e
nixos/jupyter: fix typos 2025-01-14 16:21:47 +01:00
Maximilian Ehlers f199d57ad6
nixos/jupyter: migrate service to jupyter 7 setup (#367106)
Signed-off-by: Maximilian Ehlers <maximilian@sodawa.com>
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-01-05 22:37:25 +05:30
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
Felix Buehler e8df83b3d2 nixos/services.gemstash: remove with lib; 2024-12-08 13:21:52 +01:00
Felix Buehler 2a63acaac6 nixos/services.bloop: remove with lib; 2024-12-08 13:21:52 +01:00
nicoo 429f89688a nixos/athens: Replace custom jq-based runCommand with pkgs.formats 2024-12-04 20:50:45 +00:00
Jakub Kozłowski ccca341011
bloop: fix service (#358951) 2024-11-26 13:59:49 +01:00
Evgeny Kurnevsky 87647a1bf9
bloop: fix service
bloop uses 'start' command now which starts daemon in the background
2024-11-25 11:40:46 +01:00
netali f41f218e0d
nixos/zammad: refactor module 2024-11-24 14:42:43 +01:00
Paul Meyer ed5d274df7 nixos/athens: update docs
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-11-11 11:42:08 +01:00
Jack Wilsdon df03b32278 nixos/jupyter: set user primary group 2024-10-17 23:44:53 +01:00
Paul Meyer 6e839b8f99 go_1_21/buildGo121Module: remove
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-10-01 12:43:42 +02:00
Aos Dabbagh 44a4c266c3 doc(livebook): Fix small spelling mistake 2024-09-16 14:54:45 -04:00
Felix Bühler 8dd85c637c
nixos/services.zammad: remove with lib; (#338051) 2024-09-02 21:42:59 +02:00
Felix Bühler 48e082adea
nixos/services.athens: remove with lib; (#338050) 2024-08-30 01:23:05 +02:00
Felix Buehler 45bc5974dd nixos/services.rstudio-server: remove with lib; 2024-08-30 00:30:45 +02:00
Felix Buehler f65c35866a nixos/services.livebook: remove with lib; 2024-08-30 00:30:45 +02:00
Felix Buehler df4401eac8 nixos/services.jupyterhub: remove with lib; 2024-08-30 00:30:45 +02:00
Felix Buehler a986e3c10a nixos/services.jupyter.kernels: remove with lib; 2024-08-30 00:30:45 +02:00
Felix Buehler 5134f4b55c nixos/services.jupyter: remove with lib; 2024-08-30 00:30:44 +02:00
Felix Buehler 25ddce8617 nixos/services.hoogle: remove with lib; 2024-08-30 00:30:44 +02:00
Felix Buehler 8ddfb1375f nixos/services.distccd: remove with lib; 2024-08-30 00:30:44 +02:00
Felix Buehler b16581f094 nixos/services.zammad: remove with lib; 2024-08-29 00:37:13 +02:00
Felix Buehler 0717502d60 nixos/services.athens: remove with lib; 2024-08-29 00:23:33 +02:00
Alexandru Scvortov 742ee97845 livebook: fix service not starting when LIVEBOOK_COOKIE was not set 2024-07-25 17:17:41 +01:00
Alexandru Scvortov f147a306d5 livebook: add munksgaard and scvalex as maintainers 2024-07-25 17:17:41 +01: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
Janne Heß fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Janne Heß bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
DCsunset 38261d9556 nixos/hoogle: add extraOptions 2024-03-06 22:12:41 -05:00
V ff990ea66a nixos/nixseparatedebuginfod: fix compatibility with Nix 2.3
Appending to options with the `extra-` prefix was added in Nix 2.4,
which makes config validation fail on this version without the guard.

Change-Id: Ie253978dbaf00b228fecc08698a3dcc01cd2d82b
2024-02-29 23:10:31 +01:00
Sandro 7fab1e2013
Merge pull request #275024 from jerith666/lorri-less-protected 2024-02-24 16:07:13 +01:00
Philip Munksgaard 1ee8e72834
livebook: Set KillMode=mixed
This will gracefully shut down the service instead of resulting in errors like
this:

```
Jan 24 10:11:11 foo livebook[981676]: 10:11:11.922 [error] GenServer :disksup terminating
Jan 24 10:11:11 foo livebook[981676]: ** (stop) {:port_died, :normal}
Jan 24 10:11:11 foo livebook[981676]: Last message: {:EXIT, #Port<0.8>, :normal}
Jan 24 10:11:11 foo livebook[981676]: 10:11:11.922 [error] GenServer :memsup terminating
Jan 24 10:11:11 foo livebook[981676]: ** (stop) {:port_died, :normal}
```
2024-01-26 20:19:49 +01:00