1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 17:56:53 +03:00
Commit graph

36808 commits

Author SHA1 Message Date
K900
b157c03c40
nixos/tests/acme: Refactor test suite (#378705) 2025-02-26 10:29:20 +03:00
K900
62b5275700
nixos/acme: Refactor setup process (#355087) 2025-02-26 10:29:09 +03:00
โทสฺตัล
b3f93d7292 nixos/h2o: TLS recommendations
From Mozilla’s ssl-config-generator project
2025-02-26 12:26:12 +07:00
โทสฺตัล
106d33952f nixos/h2o: virtual host settings default to empty 2025-02-26 10:49:06 +07:00
Johannes Kirschbauer
abf029ca1a
testing/test-instrumentation: Decrease stateVersion priority (#384976) 2025-02-26 09:33:27 +07:00
Rémi NICOLE
585966ade5
netbox: add option to listen on Unix socket (#379919) 2025-02-25 14:06:06 +00:00
Atemu
38e5291c59
nixos/iosched: init module (#318600) 2025-02-25 14:14:58 +01:00
a-kenji
84e5852c3b testing/test-instrumentation: Decrease stateVersion priority
Set the priority of `system.stateVersion` between `mkDefault` and
`mkOptionDefault`.
Since this is set unconditionally for test instrumentation purposes, and
it is specifically set to:
```
Squelch warning about unset system.stateVersion
```
it should be no problem to not conflict if someone if setting this
option as `mkDefault`.
2025-02-25 17:17:34 +07:00
Michele Guerini Rocco
64ddb39f99
network: make network setup service do not depend on udev, and fix typo with greTunnels (#373931) 2025-02-25 08:06:51 +01:00
Martin Weinelt
35f9b4c165
zigbee2mqtt_2: init at 2.1.1 (#371053) 2025-02-25 05:09:13 +01:00
Mikael Voss
3c0be38ee0
nixos/iosched: init module 2025-02-25 00:08:06 +01:00
Felix Buehler
4618d53eda nixos/servarr: organize files 2025-02-24 18:50:09 +01:00
Felix Buehler
7b0f7e2696 nixos/prowlarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler
22b311429f nixos/whisparr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler
7045b5061f nixos/readarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler
ae25ae9c3d nixos/lidarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler
0ee1f7fd4c nixos/radarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler
dcf1b856ac nixos/sonarr: add settings option 2025-02-24 18:50:08 +01:00
Felix Buehler
2542b9e428 nixos/servarr: add options and env-var functions 2025-02-24 18:50:06 +01:00
Sandro
245441e2a2 nixos/avahi: only enable ipv6 when networking.enableIPv6 is true 2025-02-24 17:19:55 +01:00
Weijia Wang
1c4fe4d409
services.flannel: add an extraNetworkConfig configuration, add missing kernel module (#365317) 2025-02-24 15:54:44 +01:00
Sandro
f6734c6849
nixos/fileSystems: omit comment about swap devices if there are no swap devices on the system (#373857) 2025-02-24 15:20:57 +01:00
Lin Jian
48966eb4c6
nixos/xonsh: update descriptions and examples (#383702) 2025-02-24 22:14:43 +08:00
SamLukeYes
5e8d9d3131
nixos/xonsh: update descriptions and examples 2025-02-24 22:04:21 +08:00
Sandro
9d2e28a82e
nixos/inadyn: fix defaultText 2025-02-24 14:40:05 +01:00
lassulus
e4ee61d0f4
nixos/h2o: ACME support + fixups; h2o: add passthru.tests (#383282) 2025-02-24 17:10:07 +07:00
Weijia Wang
747f842fb1
mdevctl: fix script dir location (#383111) 2025-02-24 10:39:33 +01:00
โทสฺตัล
093d5cfaea nixos/step-ca: add H2O test 2025-02-24 15:06:34 +07:00
โทสฺตัล
40f58bffcb nixos/h2o: basic ACME support 2025-02-24 15:06:34 +07:00
โทสฺตัล
1deab8b466 nixos/h2o: remove mode option as a potential footgun 2025-02-24 15:06:34 +07:00
โทสฺตัล
e7e5ea5cee nixos/h2o: show package override that isn’t the default
The default was changed earlier this week
2025-02-24 15:06:34 +07:00
โทสฺตัล
c554171c27 nixos/h2o: service name matches project 2025-02-24 15:06:34 +07:00
โทสฺตัล
14a33566d7 nixos/h2o: add virtual host serverAliases 2025-02-24 15:06:33 +07:00
โทสฺตัล
60287f0793 nixos/h2o: add missing Group to systemd 2025-02-24 15:06:33 +07:00
โทสฺตัล
760102b995 nixos/h2o: use { } for settings default 2025-02-24 15:06:33 +07:00
โทสฺตัล
e7cf87f304 nixos/h2o: redo identity type to just list 2025-02-24 15:06:33 +07:00
Kevin Cox
9a5de3bb1e
nixos/cross-seed: create outputDir on start and re-enable test (#384570) 2025-02-23 18:59:23 -05:00
Shawn8901
faadb5162c nixos/fileSystems: omit swap comment if there are no swapDevices 2025-02-23 23:23:32 +01:00
Pol Dellaiera
1040721009
nixos/filesystems: remove unused variable (#384605) 2025-02-23 22:33:21 +01:00
Sandro Jäckel
4a1cad4c46
nixos/filesystems: remove unused variable 2025-02-23 22:01:44 +01:00
Pedro Alves
579bf01c35 nixos/cross-seed: create outputDir 2025-02-23 17:38:23 +00:00
Anna Aurora
4d2bb49e75
nixos/meme-bingo-web: harden 2025-02-23 17:47:56 +01:00
Anna Aurora
db6c59929b
nixos/meme-bingo-web: add address and openFirewall options 2025-02-23 17:47:29 +01:00
Ilan Joselevich
ddef0335cb
nixos/stalwart-mail: support adding secrets (#380588) 2025-02-23 16:00:01 +07:00
Tristan Ross
5024df2d7c nixos/nix-daemon: allow nix implementations not following nix versioning 2025-02-23 00:13:02 -05:00
Martin Weinelt
1e6e36a53a
maintainers: drop srid, blaggacao, nrdxp, tgunnoe, rgbcube (#384382) 2025-02-23 05:10:29 +01:00
Johannes Kirschbauer
d72e06b97e
nixos/step-ca: use pathWith for intermediatePasswordFile (#382214) 2025-02-23 10:52:05 +07:00
Martin Weinelt
6f7bcb6e43
maintainers: drop nrdxp
Banned from the community on 2024-11-06.
2025-02-23 01:42:45 +01:00
Lucas Savva
229640ed3a nixos/tests/acme: Refactor test suite
Split tests up based on certain use cases:

- http01-builtin: Tests most functionality of the core module, such
 as the systemd and hashing components, whilst utilising lego's built
 in http01 resolution mechanis.
- dns01: Tests only that DNS01 renewal works as expected.
- nginx: Tests nginx compatability
- httpd: Tests httpd compatability
- caddy: Tests caddy compatability
2025-02-22 23:58:29 +00:00
Lucas Savva
84af416af6 nixos/acme: Refactor setup process
Over time, we added a lot of setup services to the ACME module, namely:

- acme-selfsigned-ca.service: Creates the selfsigned CA certificates
 used to generate selfsigned certs for each configured cert.
- acme-fixperms.service: Ensures permissions correctness on certs after
 system configuration changes.
- acme-lockfiles.service: Create lockfiles used to implement
 maxConcurrentRenewals.

These numerous setup services complicated the dependency chain for any
cert renewal, and also made it difficult to track responsibility for
specific setup steps, for example, creating /var/lib/acme or setting
permissions of shared folders.

This change proposes a new acme-setup.service which encapsulates the
functionality of the previous 3 services into one. The service is still
defined in 3 separate chunks (using lib.mkMerge) which allows us to
keep a logical separation between each step and preserve some
optionality in the features.

The result is a generally simplified definition of systemd unit
dependencies and an obvious entrypoint for future setup extensions.
2025-02-22 21:14:56 +00:00