3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Shawn8901 7f01ff7822 nixos/prometheus: use pkgs.formats.json.generate to write config file
The old way of writing the file omited qoutes within strings which are needed by some configurations like federations.
The quotes got lost when `echo`ing the content via `echo '${builtins.toJSON x}'`.
The pkgs.formats.json does handle that race condition properly, so this commit switches the writing to that helper.
2022-04-18 18:09:03 +02:00
..
config Merge pull request #118387 from raboof/document-how-to-disable-nss 2022-04-16 22:55:40 +02:00
hardware nixos/nvidia: fix type of bus ID option to accept empty string 2022-04-17 12:00:00 +00:00
i18n/input-method nixos/fcitx5: remove systemd service via XDG autostart files 2022-04-18 01:14:00 +08:00
installer nixos/kexec-boot: use dirname of script to resolve bzImage and initrd.gz 2022-04-13 13:26:04 +02:00
misc Merge staging-next into staging 2022-04-08 18:11:40 +00:00
profiles nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
programs Merge pull request #167051 from pacien/ssmtp-removal 2022-04-17 21:09:14 +02:00
security Merge pull request #164025 from lukegb/pam-ussh 2022-04-11 01:25:45 +01:00
services nixos/prometheus: use pkgs.formats.json.generate to write config file 2022-04-18 18:09:03 +02:00
system Merge pull request #168774 from helsinki-systems/feat/systemd-shutdown 2022-04-18 09:52:07 +02:00
tasks Merge pull request #107957 from tex/nixos/auto-upgrade 2022-04-16 23:06:17 +01:00
testing nixos/tests: also set TimeoutStart in systemd.user.extraConfig 2022-01-21 04:18:05 +01:00
virtualisation Merge pull request #167902 from DeterminateSystems/openstack-zfs-cleanup 2022-04-16 19:44:53 -04:00
module-list.nix Merge pull request #168774 from helsinki-systems/feat/systemd-shutdown 2022-04-18 09:52:07 +02:00
rename.nix nixos/ssmtp: drop module 2022-04-17 00:44:50 +02:00