nixpkgs/nixos/modules
Maximilian Bosch 4fd75277dd
nixos/coturn: refactor secret injection
The original implementation had a few issues:

* The secret was briefly leaked since it is part of the cmdline for
  `sed(1)` and on Linux `cmdline` is world-readable.
* If the secret would contain either a `,` or a `"` it would mess with
  the `sed(1)` expression itself unless you apply messy escape hacks.

To circumvent all of that, I decided to use `replace-secret` which
allows you to replace a string inside a file (in this case
`#static-auth-secret#`) with the contents of a file, i.e.
`cfg.static-auth-secret-file` without any of these issues.
2022-10-09 09:31:48 +02:00
..
config Merge #188381: Fix glibc locales on cross endian 2022-09-15 12:39:03 +02:00
hardware maintainers: remove superherointj 2022-10-04 14:06:48 -03:00
i18n/input-method nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
installer nixos/nixos-build-vms: fix eval 2022-10-01 20:34:01 +02:00
misc nixos: Fix cross compilation of derivations defined in NixOS via pkgs 2022-09-11 17:11:37 +02:00
profiles nixos/installer: mkForce -> mkImageMediaOverride 2022-08-14 12:14:34 -04:00
programs Merge pull request #191854 from farnoy/patch-1 2022-10-01 10:09:59 +02:00
security Merge pull request #190052 from JasonWoof/acme-example 2022-10-07 12:53:15 +02:00
services nixos/coturn: refactor secret injection 2022-10-09 09:31:48 +02:00
system Merge pull request #191491 from oxalica/fix/systemd-initrd-modprobe 2022-10-05 10:39:58 +02:00
tasks nixos/jfs: correct broken toplevel reference 2022-10-06 19:26:13 +00:00
testing nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
virtualisation nixos/virtualisation/linode-image: init (#155426) 2022-09-29 00:25:03 +02:00
module-list.nix nixos/tmate-ssh-server: init module (#192270) 2022-10-05 17:34:30 +01:00
rename.nix dd-agent: remove 2022-09-14 14:11:14 +02:00