Commit Graph

881 Commits

Author SHA1 Message Date
isabel
e2824e9316 (Part 3) various: replace systemd.services.<name>.{script,preStart} with ExecStart{,Pre} (#481639) 2026-08-02 12:04:51 +00:00
Marcin Serwin
aabe13f270 sgx-psw: 2.27 -> 2.29; nixos/aesmd: update (#524479) 2026-07-31 16:07:56 +00:00
h7x4
b0cce36acb various: replace systemd.services.<name>.{script,preStart} with ExecStart{,Pre}
This is a partial revert of 39e9380
2026-07-31 03:08:12 +09:00
Adam C. Stephens
907268690d services.kanidm: fix broken link in description (#547176) 2026-07-29 19:27:59 +00:00
git@71rd.net
71de89537d services.kanidm: fix broken link in description 2026-07-29 19:06:04 +00:00
Sandro
c9e3637c6f nixos/vaultwarden: respect DATA_FOLDER override in backup service (#518425) 2026-07-29 18:43:15 +00:00
Ivan Mincik
2577375f30 hockeypuck: add NGI team (#485003) 2026-07-27 14:13:45 +00:00
eljamm
928065b6a6 hockeypuck: add NGI team 2026-07-27 09:40:19 +02:00
Bjørn Forsman
45dafe49bc nixos/authelia: use lib.types.externalPath (#538576) 2026-07-26 17:26:40 +00:00
Connor Grady
7adb50f814 nixos/authelia: use lib.types.externalPath
`secrets.*File` and `settings.log.file_path` now use
`lib.types.externalPath`, which only accepts absolute non-store path
strings. Passing an unquoted path literal (which silently copies its
contents into the Nix store) now fails at evaluation time with a clear
type error instead of being accepted.
2026-07-26 11:50:13 -05:00
Nicolas Mémeint
340342443b nixos/authelia: Only check assertions on enabled instances 2026-07-26 09:20:23 +02:00
Arne Keller
79da7dc90c nixos/vaultwarden: add example for .domain option (#515814) 2026-07-20 15:37:02 +00:00
Nicolas Mémeint
1df2a4c729 nixos/authelia: Make secrets available to the service even if not readable by the authelia user 2026-07-15 14:07:35 +02:00
hayao
ccf6ab0bff sgx-psw: 2.27 -> 2.29; nixos/aesmd: update 2026-07-09 12:26:34 +09:00
azahi
900dfaee6f treewide: remove azahi from maintainers 2026-06-26 02:38:36 +03:00
Florian Klink
03495efb8b nixos/pocket-id: clarify 'secrets' option
It's not immediately obvious that this takes the keys without the `_KEY`
suffix, so better document it.
2026-06-22 15:48:12 +03:00
Grimmauld
3214367796 nixos/opensnitch: default to nftables firewall backend
iptables backend is currently broken for unknown reasons.
`nftables` backend works for iptables firewall too,
if built with nftablesCompat = true (our default).
2026-06-10 13:38:01 +02:00
Grimmauld
61ab732ed5 nixos/opensnitch: make rules path and state directory match 2026-06-03 20:50:12 +02:00
Grimmauld
fe171cb3a8 nixos/opensnitch: define /etc/opensnitchd entries via environment.etc 2026-06-03 20:26:30 +02:00
Grimmauld
556c4bdf22 nixos/opensnitch: link network_aliases.json to /etc/opensnitchd (#525887) 2026-06-03 16:04:55 +00:00
Christian Flach
1859b4a89b nixos/opensnitch: link network_aliases.json to /etc/opensnitchd
Without this file present, the built in "LAN" and "MULTICAST" network options provided in the UI do not work.

Fixes: #445086
2026-05-30 11:22:41 +02:00
Angel J
86694481f2 jitterentropy-rngd: add configurable memlock limit 2026-05-26 19:35:47 -07:00
Blui42
ab474d84bc nixos/opensnitch: remove IFD 2026-05-17 13:51:46 +02:00
K900
2a6a67b8d4 nixos/oauth2-proxy: fix warning condition 2026-05-16 12:52:09 +03:00
Marcin Serwin
5058b2a755 maintainers: drop dit7ya (#515947) 2026-05-15 18:29:20 +00:00
Marcin Serwin
5e75181628 maintainers: drop dit7ya
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-05-15 20:24:01 +02:00
wellWINeo
f5c3d4f9dd nixos/vaultwarden: respect DATA_FOLDER override in backup service
The backup service hardcoded DATA_FOLDER to the local dataDir variable
(which always resolves to /var/lib/vaultwarden), ignoring any user
override set via services.vaultwarden.config.DATA_FOLDER.

This caused backups to always read from the default directory even when
the vaultwarden service itself was configured to use a different data
path.
2026-05-09 18:56:17 +03:00
Sandro Jäckel
52fd7bf87e nixos/oauth2-proxy: add trustedProxyIP option and warning when it is not set in combination with reverseProxy 2026-05-09 00:52:31 +02:00
Martin Weinelt
38f97813d5 reaction: 2.3.0 -> 2.3.1-11
https://framagit.org/ppom/reaction/-/releases/v2.3.1
2026-05-06 01:14:25 +02:00
Markus Theil
6117ffd517 jitterentropy-rngd: update module for 1.3.1
Signed-off-by: Markus Theil <theil.markus@gmail.com>
2026-05-05 14:07:04 +02:00
Emily
a4a7f9e519 nixos/openbao: Allow openbao service sockets to be accessed by other services (#496820) 2026-05-04 21:12:49 +00:00
Arian van Putten
e142ebef75 nixos/spire: make Workload API socket reachable by non-root workloads
The unit's UMask=0027 was masking spire-agent's own
os.MkdirAll("/run/spire/agent/public", 0755) down to mode 0750, so any
process not in the spire-agent group got EACCES on connect() — defeating
the point of workload attestation, which is supposed to identify
arbitrary callers regardless of their unix identity.

Pre-create the directory via RuntimeDirectory so systemd applies
RuntimeDirectoryMode (0755) independent of umask; spire-agent's MkdirAll
then becomes a no-op.

Also exercises the path in the NixOS test by fetching an SVID as a
normal user.
2026-05-04 14:50:21 +02:00
Peder Bergebakken Sundt
fcb054eece warpgate 0.18.0 -> 0.23.1 (#511976) 2026-05-02 18:37:42 +00:00
Leni Aniva
b3b2449b85 nixos/openbao: allow unix socket to be optionally accessed by others
When OpenBao is placed behind a reverse proxy like nginx, it's
preferable to have OpenBao listen on a Unix Socket instead of TCP/IP.

OpenBao supports this, we just need to relax our sandboxing for this
ever so slightly.

The default effective socket_mode is left untouched. Meaning even with
RuntimeDirectoryMode=0755, other services can't just access OpenBao's
Unix Socket because of its Umask=0077. One needs to explicitly configure
socket_mode, socket_user and socket_group in OpenBao's [unix listener
config] to make use of this.

Additionally, setting User=openbao and Group=openbao allows other
services to make use of SupplementaryGroups=openbao or OpenBao to use
e.g. Postgres peer authentication.

[unix listener config]: https://openbao.org/docs/configuration/listener/unix/

Co-authored-by emilylange <git@emilylange.de>
2026-05-02 19:24:18 +02:00
moversity
b0f330ee1e nixos/vaultwarden: add example for .domain option
Adding an example provides necessary guideline for how the format should be (i.e. without leading https://, else the domain is added as a base path, e.g. /vaultwarden.example.com). The example was chosen to match the example config (bitwarden.example.com).
2026-05-02 10:09:50 +00:00
Arian van Putten
e27ef5378c nixos/spire: add spire-tpm-plugin support 2026-04-27 14:37:44 +02:00
Arian van Putten
89952b521a nixos/spire: update descriptions to match docs
Copied the descriptions verbatim from upstream
2026-04-27 14:37:44 +02:00
Arian van Putten
66aad88635 nixos/spire: add join_token and join_token_file options 2026-04-27 14:37:44 +02:00
Arian van Putten
321694cb3f nixos/spire: type server NodeAttestor plugins 2026-04-27 14:37:44 +02:00
Arian van Putten
bcad0af499 nixos/spire: type agent NodeAttestor plugin section 2026-04-26 11:25:15 +02:00
Sandro
91cbfc393c nixos/authelia: add default instance support (#504928) 2026-04-23 23:45:56 +00:00
Lemon Lam
09e9c0110c nixos/warpgate: align sso_providers with config schema
`default_credential_policy` is left out because it's not well defined in schema.
2026-04-23 20:23:37 +08:00
Lemon Lam
7688f7f735 nixos/warpgate: add log.audit_retention
... and clarify what `log.retention` does
2026-04-21 12:18:18 +08:00
Lemon Lam
36fa9a857f nixos/warpgate: add protocol specific external_host 2026-04-21 12:17:00 +08:00
dram
a81de3b1a9 Revert "maintainers: init kaynetik" 2026-04-10 12:58:40 +08:00
Adam C. Stephens
e76403f0ff nixos/kanidm: remove TemporaryFileSystem masking /
This has caused problems before, and again recently https://github.com/kanidm/kanidm/issues/4209.
Instead of continuing to fix edge cases from this non-standard hardening, remove it.
2026-04-07 09:23:52 -04:00
Sandro
ff048610a1 nixos/crowdsec-firewall-bouncer: Fix missing systemd dependencies to firewall services (#476651) 2026-04-06 17:08:15 +00:00
Pol Dellaiera
65a0161fd3 maintainers: init kaynetik (#505665) 2026-04-03 20:37:20 +00:00
oddlama
77ac8592ef nixos/kanidm: only eliminate directory prefixes when merging BindPaths 2026-04-01 20:41:20 +02:00
kaynetik
5b199ff7dd maintainers: init kaynetik
Signed-off-by: kaynetik <aleksandar@nesovic.dev>
2026-04-01 13:20:22 +02:00