nixpkgs/nixos/modules
Maximilian Bosch a9e3ec1d6e
nixos/systemd-nspawn: disallow multiple packages with .nspawn-units
In contrast to `.service`-units, it's not possible to declare an
`overrides.conf`, however this is done by `generateUnits` for `.nspawn`
units as well. This change breaks the build if you have two derivations
configuring one nspawn unit.

This will happen in a case like this:

``` nix
{ pkgs, ... }: {
  systemd.packages = [
    (pkgs.writeTextDir "etc/systemd/nspawn/container0.nspawn" ''
      [Files]
      Bind=/tmp
    '')
  ];
  systemd.nspawn.container0 = {
    /* ... */
  };
}
```
2020-04-04 21:11:21 +02:00
..
config nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
hardware nixos/iio: adjust formatting of option description. 2020-04-01 18:37:52 +00:00
i18n/input-method nixos/ibus: add ibus portal if portals are enabled 2020-03-28 18:09:26 -04:00
installer nixos-option: Disable on Nix >= 2.4 because it doesn't compile 2020-03-20 14:52:22 +01:00
misc services/misc/nixos-manual.nix: Remove 2020-03-24 15:25:20 +01:00
profiles Merge pull request #73763 from kmcopper/hardening-profile 2020-04-03 18:48:12 +00:00
programs nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
security nixos/acme: don't depend on multi-user.target inside a container 2020-03-29 19:59:52 +02:00
services Merge pull request #84074 from Infinisil/fix-literal-option-examples 2020-04-03 15:41:53 +02:00
system nixos/systemd-nspawn: disallow multiple packages with .nspawn-units 2020-04-04 21:11:21 +02:00
tasks Merge pull request #79828 from Mic92/zed 2020-04-02 13:42:01 +01:00
testing nixos/service-runner.nix: Allow quotes in commands + test 2020-02-28 14:26:29 +01:00
virtualisation nixos/treewide: Fix incorrectly rendered examples 2020-04-02 07:49:25 +02:00
module-list.nix nixos/pixiecore: init (#83406) 2020-04-02 13:06:21 +01:00
rename.nix nixos: fix module paths in rename.nix 2020-03-11 15:59:22 +01:00