nixpkgs/nixos/modules/system/boot
Kevin Cox da33c8a19d
systemd: Properly escape environment options.
Using toJSON on a string value works because the allowed JSON escape
sequences is almost a subset of the systemd allowed escape sequences.
The only exception is `\/` which JSON allows but systemd doesn't.
Luckily this sequence isn't required and toJSON don't produce it making
the result valid for systemd consumption.

Examples of things that this fixes are environment variables with double
quotes or newlines.
2017-02-20 22:20:13 -05:00
..
loader systemd-boot: Unlink loader.conf if it exists 2017-02-20 14:54:48 +01:00
coredump.nix systemd-coredump: Add systemd service and fix sysctl pattern. 2016-07-10 18:07:37 +10:00
emergency-mode.nix
initrd-network.nix
initrd-ssh.nix initrd-ssh: fix authorized_key generation with multiple keys 2016-11-16 14:47:37 +00:00
kernel.nix fix comments about nixos-hardware-scan 2017-02-18 13:29:47 +01:00
kexec.nix
luksroot.nix luksroot module: optionSet -> submodule 2016-09-13 12:53:13 +09:00
modprobe.nix nixos treewide: don't set MODULE_DIR 2016-08-19 17:56:54 +03:00
networkd.nix networking.networkd: adjust autmatic mapping of bonds 2017-02-16 21:24:40 +01:00
pbkdf2-sha512.c
plymouth.nix nixos/modules: use defaultText where applicable 2016-11-21 16:35:15 +01:00
readonly-mountpoint.c
resolved.nix systemd: 231 -> 232 2017-01-26 17:52:52 +01:00
shutdown.nix
stage-1-init.sh Fix using ephemeral disks for /tmp etc. in EC2 instances 2017-01-03 17:32:42 +01:00
stage-1.nix runCommand: Use stdenvNoCC 2016-09-29 13:06:43 +02:00
stage-2-init.sh Revert "nixos/stage2: Check for each special mount individually and mount missing ones. (#21370)" 2017-01-10 17:35:38 +01:00
stage-2.nix nixos filesystems: unify early filesystems handling 2016-08-27 13:38:20 +03:00
systemd-lib.nix systemd service: add aliases option 2017-02-02 00:52:54 +03:00
systemd-nspawn.nix nspawn module: optionSet -> submodule 2016-10-21 01:31:54 +09:00
systemd-unit-options.nix systemd service: add aliases option 2017-02-02 00:52:54 +03:00
systemd.nix systemd: Properly escape environment options. 2017-02-20 22:20:13 -05:00
timesyncd.nix ntp: make timesyncd the new default 2016-12-17 00:00:45 +01:00
tmp.nix