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 nixos/lib, doc: remove references to mdDoc (#300738) 2024-04-01 16:58:23 -07:00
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 nixos: Expose lib attribute on configuration for repl 2024-01-15 00:28:07 +01:00
from-env.nix
make-btrfs-fs.nix nixos/lib/make-btrfs-fs: Use fakeroot and faketime (#265686) 2023-11-07 02:17:38 +02:00
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 nixos/iso-image: extremely cursed performance optimization for Hydra 2024-03-12 15:41:59 +03:00
make-iso9660-image.sh nixos/iso-image: extremely cursed performance optimization for Hydra 2024-03-12 15:41:59 +03:00
make-multi-disk-zfs-image.nix
make-single-disk-zfs-image.nix make-single-disk-zfs-image: make memSize configurable 2023-10-31 08:28:45 +01:00
make-squashfs.nix nixos/lib/make-squashfs.nix: allow disabling compression 2024-01-07 22:46:20 -06:00
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: add a name option to all systemd units 2024-04-15 11:32:45 +02:00
systemd-unit-options.nix systemd: add a name option to all systemd units 2024-04-15 11:32:45 +02:00
test-script-prepend.py nixos/test-driver: Separate XML and Terminal log 2024-05-07 15:17:16 +02:00
testing-python.nix nixos/test-driver: provide a global timeout 2023-10-29 12:45:00 +01:00
utils.nix nixos/utils: support JSON secret files in genJqSecretsReplacementSnippet 2024-07-07 19:22:10 +08:00