nixpkgs-suyu/nixos/modules
talyz 5010f4fff9
nixos/keycloak: Use LoadCredential to load secrets
Use systemd's LoadCredential mechanism to make the secret files
available to the service.

This gets rid of the privileged part of the ExecPreStart script which
only served to copy these files and assign the correct
permissions. There's been issues with this approach when used in
combination with DynamicUser, where sometimes the user isn't created
before the ExecPreStart script runs, causing the error

install: invalid user ‘keycloak’

This should fix that issue.

Unfortunately, all of the ExecPreStart script had to be moved to
ExecStart, since credentials aren't provided to ExecPreStart. See
https://github.com/systemd/systemd/issues/19604.
2022-01-17 11:46:51 +01:00
..
config users-groups service: add autoSubUidGidRange option 2022-01-09 09:43:55 +03:00
hardware Merge pull request #154550 from veehaitch/sgx-compat-udev 2022-01-13 14:55:08 +00:00
i18n/input-method nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
installer Merge pull request #150408 from Enzime/systemd-boot-extra-entries 2022-01-13 07:15:05 +00:00
misc nixos/rstudio-server: init 2022-01-17 10:24:38 +11:00
profiles all-hardware: Add virtio_mmio module 2022-01-06 17:23:10 -08:00
programs nixos/chromium: Add DefaultSearchProviderEnabled option 2022-01-17 08:04:55 +02:00
security Merge pull request #146937 from amarshall/pam-apparmor-fix 2022-01-12 06:31:35 +00:00
services nixos/keycloak: Use LoadCredential to load secrets 2022-01-17 11:46:51 +01:00
system Merge pull request #151082 from hercules-ci/nixos-cleanup-vmWithBootLoader 2022-01-14 18:49:27 +01:00
tasks Merge pull request #148637 from hexagonal-sun/network/gre-tap-tun 2022-01-01 17:04:29 +00:00
testing
virtualisation nixos/build-vm.nix: Fix docs eval 2022-01-14 19:17:11 +01:00
module-list.nix nixos/rstudio-server: init 2022-01-17 10:24:38 +11:00
rename.nix mailpile, nixos/mailpile: drop 2022-01-16 02:36:20 +01:00