nixpkgs/nixos/modules/system/boot
Klemens Nanni cbcc746f8f nixos/systemd: Package only built component units
Account for all `with*` options causing their respective unit files to
not be built, just like the current code `withCryptsetup` already does.

This fixes build errors like the following:
```
missing /nix/store/5fafsfms64fn3ywv274ky7arhm9yq2if-systemd-250.4/example/systemd/system/systemd-importd.service
error: builder for '/nix/store/67rdli5q5akzwmqgf8q0a1yp76jgr0px-system-units.drv' failed with exit code 1
```

Found by using a customised systemd package as follows:
```
systemd.package = pkgs.systemd-small;

nixpkgs.config.packageOverrides = pkgs: {

  "systemd-small" = pkgs.systemd.override {
    withImportd = false;
    withMachined = false;
    ...
  };

};
```
2022-05-16 16:52:25 +02:00
..
loader systemd-boot: use mktemp from coreutils in installer 2022-05-02 15:44:55 +03:00
systemd nixos/systemd: Package only built component units 2022-05-16 16:52:25 +02:00
binfmt.nix nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
emergency-mode.nix
grow-partition.nix
initrd-network.nix
initrd-openvpn.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
initrd-ssh.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
kernel.nix nixos: don't put non-firmware in hardware.firmware 2022-05-12 15:17:51 +00:00
kernel_config.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
kexec.nix kexec-tools: rename from kexectools to match the project name 2021-09-03 10:17:21 -04:00
luksroot.nix nixos/systemd-stage-1: Remove unnecessary binaries 2022-04-30 14:50:02 +02:00
modprobe.nix treewide: pkgs.systemd -> config.systemd.package 2022-05-05 20:00:31 +02:00
networkd.nix nixos/networkd: allow RouteMetric for IPv6AcceptRA 2022-04-30 00:30:04 +02:00
pbkdf2-sha512.c
plymouth.nix nixos/plymouth: Add systemd stage 1 support 2022-04-24 21:47:49 +01:00
resolved.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
shutdown.nix
stage-1-init.sh nixos/stage-1: remove dead code 2022-05-03 16:15:51 +02:00
stage-1.nix Merge pull request #165892 from tpwrules/fix-initrd-dirlinks 2022-04-21 20:51:35 +03:00
stage-2-init.sh nixos/stage-1-systemd: Handover between the systemds directly 2022-04-11 20:04:33 +01:00
stage-2.nix Merge pull request #165453 from helsinki-systems/feat/systemd-manager-environment 2022-03-31 01:35:09 +02:00
systemd.nix nixos/systemd: Package only built component units 2022-05-16 16:52:25 +02:00
timesyncd.nix nixos/timesyncd: initialize clock file with current time 2022-03-05 21:27:45 +01:00
tmp.nix nixos/tmp: Fix format of /tmp mount options 2022-01-31 12:49:29 +01:00