3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/system/boot
Graham Christensen 64dd9c1d6a
stage-2: parameterized systemd executable
This lets users do sneaky things before systemd starts, and
permanently affect the environment in which systemd runs. For example,
we could start systemd in a non-default network namespace by setting
the systemdExecutable to a wrapper script containing:

    #!/bin/sh
    ip netns add virtual
    touch /var/run/netns/physical
    mount -o bind /proc/self/ns/net /var/run/netns/physical
    exec ip netns exec virtual systemd

_note: the above example does literally work, but there are unresolved
problems with udev and dhcp._
2020-07-14 13:18:14 -04:00
..
loader install-grub.pl: Fix GRUB always reinstalling. (#92756) 2020-07-13 02:16:43 +02:00
binfmt.nix nixos/binfmt: move systemd-binfmt.service to binfmt module 2020-05-18 11:18:44 +02:00
emergency-mode.nix
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.nix Merge pull request #80114 from rnhmjoj/initrd 2020-03-16 20:04:24 +02:00
kernel_config.nix nixos/*: wether -> whether 2020-07-04 15:17:03 +02:00
kexec.nix
luksroot.nix Merge pull request #85074 from Emantor/fix/boot_kernel_module 2020-07-11 19:20:32 +02:00
modprobe.nix nixos/modprobe: Fix modprobe configuration manpage link 2020-07-06 13:50:11 -07:00
networkd.nix nixos/networkd: correct DHCPv6 UseDNS field 2020-07-10 21:47:51 -04:00
pbkdf2-sha512.c
plymouth.nix plymouth: Enable systemd-ask-password-plymouth 2020-07-02 13:50:23 -04:00
resolved.nix nixos/resolved: Include dbus alias of resolved unit 2020-06-13 12:23:45 +02:00
shutdown.nix
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 stage-2: parameterized systemd executable 2020-07-14 13:18:14 -04:00
stage-2.nix stage-2: parameterized systemd executable 2020-07-14 13:18:14 -04: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: add missing defaults, make options nullable 2020-07-12 12:16:26 +02:00
timesyncd.nix nixos/timesyncd: Make dbus-activatible 2020-06-13 12:23:45 +02:00
tmp.nix