1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/nixos/lib
Lin Yinfeng 01543e789c
nixos/utils: support JSON secret files in genJqSecretsReplacementSnippet
genJqReplacementSnippet quotes the content of the secret file in the
output json file, which prevents structured secret, such as a list or
an object, from being used.

This commit adds a `quote = true|false` option to the `{ _secret =
"/path/to/secret"; }` attribute set. `quote = true` treats the
content of /path/to/secret as string, while `quote = false` treats
the content of /path/to/secret as a JSON document.

`quote = true` is the default, maintaining backward compatibility.
2024-07-07 19:22:10 +08:00
..
make-options-doc
test-driver nixos/lib/test-driver: Prevent unnecessary rebuilds 2024-06-14 20:42:16 +02:00
testing nixos/testing: fix markdown link in enableOCR description 2024-05-14 21:22:09 -04:00
default.nix
eval-cacheable-options.nix
eval-config-minimal.nix
eval-config.nix
from-env.nix
make-btrfs-fs.nix
make-channel.nix
make-disk-image.nix make-disk-image: fix build for systems that use boot.loader.grub.devices 2024-06-12 08:27:18 +02:00
make-ext4-fs.nix
make-iso9660-image.nix
make-iso9660-image.sh
make-multi-disk-zfs-image.nix
make-single-disk-zfs-image.nix
make-squashfs.nix
make-system-tarball.nix
make-system-tarball.sh
qemu-common.nix nixos/lib/qemu-common: add riscv{32,64}-linux to qemu guest matrix 2024-04-29 14:05:39 +02:00
systemd-lib.nix nixos/networkd: get rid of *Config attributes in lists 2024-05-20 17:26:42 +02:00
systemd-network-units.nix nixos/systemd-networkd: add PREF64 related options 2024-06-09 20:41:32 -07:00
systemd-types.nix
systemd-unit-options.nix
test-script-prepend.py nixos/test-driver: Separate XML and Terminal log 2024-05-07 15:17:16 +02:00
testing-python.nix
utils.nix nixos/utils: support JSON secret files in genJqSecretsReplacementSnippet 2024-07-07 19:22:10 +08:00