nixpkgs/nixos/modules/system/boot
CRTified c684398c6a nixos/system/boot/initrd-openvpn: Add openvpn options for initrd
nixos/tests/initrd-openvpn: Add test for openvpn in the initramfs

The module in this commit adds new options that allows the
integration of an OpenVPN client into the initrd.
This can be used e.g. to remotely unlock LUKS devices.

This commit also adds two tests for `boot.initrd.network.openvpn`.
The first one is a basic test to validate that a failing connection
does not prevent the machine from booting.

The second test validates that this module actually creates a valid
openvpn connection.
For this, it spawns three nodes:

  - The client that uses boot.initrd.network.openvpn
  - An OpenVPN server that acts as gateway and forwards a port
    to the client
  - A node that is external to the OpenVPN network

The client connects to the OpenVPN server and spawns a netcat instance
that echos a value to every client.
Afterwards, the external node checks if it receives this value over the
forwarded port on the OpenVPN gateway.
2020-07-01 00:08:55 +02:00
..
loader nixos/generic-extlinux-compatible: fix docbook syntax 2020-06-23 20:51:02 +02:00
binfmt.nix nixos/binfmt: move systemd-binfmt.service to binfmt module 2020-05-18 11:18:44 +02:00
emergency-mode.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00
grow-partition.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
initrd-network.nix nixos/initrd-network: always run postCommands 2020-02-08 14:57:49 +01:00
initrd-openvpn.nix nixos/system/boot/initrd-openvpn: Add openvpn options for initrd 2020-07-01 00:08:55 +02:00
initrd-ssh.nix nixos/initrd-ssh: add extraConfig Options 2020-05-03 20:11:52 +02:00
kernel_config.nix kernel: fix config generation 2020-04-01 22:25:57 +02:00
kernel.nix Merge pull request #80114 from rnhmjoj/initrd 2020-03-16 20:04:24 +02:00
kexec.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
luksroot.nix boot.initrd.luks: adding a warning when using FIDO2 with kernel ≤ 5.4 2020-01-22 16:00:40 +01:00
modprobe.nix modprobe activation: Order after specialfs 2018-02-05 21:04:40 +01:00
networkd.nix nixos/networkd: Make activatible through dbus and netlink 2020-06-13 12:23:45 +02:00
pbkdf2-sha512.c
plymouth.nix plymouth: Add extra config field 2019-10-25 11:22:45 -04:00
resolved.nix nixos/resolved: Include dbus alias of resolved unit 2020-06-13 12:23:45 +02:00
shutdown.nix Don't run hwclock if /dev/rtc doesn't exist 2014-05-05 16:47:51 +02:00
stage-1-init.sh nixos/stage-1: fix predictable interfaces names 2020-02-08 14:04:02 +01:00
stage-1.nix boot: fix order of arguments for hasPrefix (#89751) 2020-06-07 18:43:15 +02:00
stage-2-init.sh Typo 2019-10-10 16:24:33 +02:00
stage-2.nix resolvconf service: init 2019-07-15 20:25:39 +03:00
systemd-lib.nix nixos/systemd-nspawn: disallow multiple packages with .nspawn-units 2020-04-04 21:11:21 +02:00
systemd-nspawn.nix nixos/systemd-nspawn: disallow multiple packages with .nspawn-units 2020-04-04 21:11:21 +02:00
systemd-unit-options.nix nixos/systemd: allow str in systemd.services.<name>.path 2020-06-19 00:02:51 +02:00
systemd.nix nixos/systemd: Update warning for restarting oneshots 2020-06-16 22:10:12 +02:00
timesyncd.nix nixos/timesyncd: Make dbus-activatible 2020-06-13 12:23:45 +02:00
tmp.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00