Commit graph

310 commits

Author SHA1 Message Date
Lukas Wurzinger 1f4c50ab81
lib/cli: deprecate toGNUCommandLine 2025-10-21 21:01:38 +02:00
Sandro Jäckel 1f60b27cd1
userborn: do not use mkForce to disable activationScripts 2025-10-16 23:24:26 +02:00
Wolfgang Walther c283f32d29
treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Masum Reza 1d84eb3dff
nixos/nvme-rs: init (#410730) 2025-09-27 10:57:22 +00:00
liberodark 74a08886b1 nixos/nvme-rs: init 2025-09-27 08:44:52 +02:00
h7x4 2b075e121e
nixos/cachix-watch-store: use more accurate int types 2025-09-22 18:45:48 +02:00
Sander 1ba28dc2f4
teams/cachix: inherit packages and modules 2025-09-09 16:55:12 +02:00
dish 970dcca69c
treewide: Fix links in module documentation 2025-08-25 12:55:11 -04:00
Katalin Rebhan b3af89dd38
nixos/kerberos_server: add extraKDCArgs option 2025-08-12 00:15:38 +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
Wolfgang Walther 6c47e7d5da
treewide: fix syntax errors in nix code blocks
Fixes all code blocks with "nix" language in markdown files for syntax
errors to be able to run nixfmt in the next step.
2025-07-24 13:52:29 +02:00
nixpkgs-ci[bot] cd0486dcd0
Merge staging-next into staging 2025-06-22 12:07:03 +00:00
Alois Wohlschlager 51374eaa1c
lixPackageSets.git: 2.94.0-pre-20250516_a7634f87aac5 -> 2.94.0-pre-20250621_242a228124f7 2025-06-22 11:50:19 +02:00
zimbatm 39c01d22bf net-tools: rename from nettools
By being in sync with the pname, it makes it easier to walk back from
the pname that shows in the /nix/store back to the attribute.

This change should not cause any rebuild.
2025-06-21 19:57:36 +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
h7x4 5418ecc5af
nixos/heimdal: add documentation to systemd units 2025-03-12 09:14:14 +01:00
h7x4 c4a5ef0c4a
nixos/heimdal: correctly handle multitarget principals 2025-03-12 09:14:14 +01:00
h7x4 405054ead6
nixos/kerberos_server: add the "get-keys" ACL permission (#337306) 2025-03-11 14:51:02 +01: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
Sandro d1c535f62a
nixos/user-groups: add a toggle for user account creation (#358646) 2025-02-27 23:47:20 +01:00
Tristan Ross 5024df2d7c nixos/nix-daemon: allow nix implementations not following nix versioning 2025-02-23 00:13:02 -05:00
Nessdoor f500ae084a nixos/kerberos_server: disallow combining "all" with policies != "get-keys" 2025-02-14 19:47:14 +01:00
Nessdoor 00a8c125b0 nixos/kerberos_server: add the "get-keys" ACL permission 2025-02-13 02:18:18 +01:00
NotAShelf 813244ed0f
nixos/userborn: filter enabled users 2025-02-02 02:07:15 +03:00
nikstur 90f7c48747
nixos/userborn: create passwordFilesLocation before userborn run if n… (#367323) 2025-02-01 22:15:24 +01:00
Anderson Torres bc80114502 various: remove AndersonTorres from modules maintainership 2025-01-22 21:47:09 -03:00
oxalica a189e89e2a nixos/earlyoom: mention extraArgs breakage and fix example
The shell-escaping breaks space handling and also makes the example
outdated. This breakage is missed in the previous change.

Also mention it in the release note.
2025-01-06 15:44:14 -05:00
Gaétan Lepage f709cfe630
nixos/swapspace: add installWrapper option (#368539) 2025-01-03 08:49:44 +01:00
Philip Taron b7090b3216
nixos/cloud-init: fix eval 2025-01-01 12:01:12 -08:00
oxalica acc2ec20ed nixos/earlyoom: format and remove dead code 2024-12-31 18:33:18 -05:00
oxalica b22d47a1b8 earlyoom: use upstream systemd service and add release note 2024-12-31 18:31:16 -05:00
Felix Buehler c05dd62835 nixos/services.uptimed: remove with lib; 2024-12-30 12:09:44 +01:00
Felix Buehler e8c85ce9ab nixos/services.saslauthd: remove with lib; 2024-12-30 12:09:44 +01:00
Felix Buehler 710d6186c1 nixos/services.nscd: remove with lib; 2024-12-30 12:09:44 +01:00
Felix Buehler 0a49bde242 nixos/nix: remove with lib; 2024-12-30 12:09:44 +01:00
Felix Buehler 08f1e99c34 nixos/services.localtimed: remove with lib; 2024-12-30 12:09:44 +01:00
Felix Buehler 128623b2f1 nixos/services.cloud-init: remove with lib; 2024-12-30 12:09:43 +01:00
Felix Buehler 354e3ac4e2 nixos/services.cachix-watch-store: remove with lib; 2024-12-30 12:09:43 +01:00
Felix Buehler 81f97e6d28 nixos/services.cachix-agent: remove with lib; 2024-12-30 12:09:43 +01:00
Felix Buehler fb31348d4d nixos/services.automatic-timezoned: remove with lib; 2024-12-30 12:09:43 +01:00
phanirithvij 64b06b0a19 nixos/swapspace: add installWrapper option
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Co-authored-by: Luflosi <luflosi@luflosi.de>
2024-12-27 19:19:09 +05:30
Lan Tian 4919e4cd1c
nixos/userborn: create passwordFilesLocation before userborn run if not /etc 2024-12-22 00:05:50 -08:00
Arne Keller 61026a1ad0
nixos/dbus: add package options (#347923) 2024-12-20 18:14:17 +01: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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Arne Keller 097248f4e0
nixos/nscd: increase default timeout to 10 seconds (#290355) 2024-12-06 13:18:52 +01:00
Bruno BELANYI 35435a647a nixos/localtimed: fix 'geoclue2Package' doc 2024-12-01 10:41:30 +00:00
phanirithvij 80ea320fe7 nixos/swapspace: init module
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Co-authored-by: Luflosi <luflosi@luflosi.de>
2024-10-30 22:41:15 +05:30
nikstur e81710fa8b
nixos/userborn: fix username typo (#346773) 2024-10-16 17:00:39 +02:00
Sandro Jäckel cfc0d6bee8
nixos/dbus: add package options 2024-10-11 13:38:15 +02:00