summary refs log tree commit diff
path: root/nixos/modules/system/boot
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-10-31 16:08:16 +0000
committerGitHub <noreply@github.com>2018-10-31 16:08:16 +0000
commit553e0d81ee263d35e761987c92b6fb8e289ca32f (patch)
treefa43ebb8fc095ed6e0f6f68345ce08a0f0ec322e /nixos/modules/system/boot
parente4bfc708e5967d2050c08d3ade580b8bd0c0e4ce (diff)
parent9f72791516f0f4a3f9ef5a24259f7e4a06896ec5 (diff)
downloadnixpkgs-553e0d81ee263d35e761987c92b6fb8e289ca32f.tar
nixpkgs-553e0d81ee263d35e761987c92b6fb8e289ca32f.tar.gz
nixpkgs-553e0d81ee263d35e761987c92b6fb8e289ca32f.tar.bz2
nixpkgs-553e0d81ee263d35e761987c92b6fb8e289ca32f.tar.lz
nixpkgs-553e0d81ee263d35e761987c92b6fb8e289ca32f.tar.xz
nixpkgs-553e0d81ee263d35e761987c92b6fb8e289ca32f.tar.zst
nixpkgs-553e0d81ee263d35e761987c92b6fb8e289ca32f.zip
Merge pull request #48771 from arianvp/container-tweaks
nixos/containers: Introduce several tweaks to systemd-nspawn from upstream systemd
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r--nixos/modules/system/boot/systemd-nspawn.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd-nspawn.nix b/nixos/modules/system/boot/systemd-nspawn.nix
index f4fa0969453..4f538ccdbbe 100644
--- a/nixos/modules/system/boot/systemd-nspawn.nix
+++ b/nixos/modules/system/boot/systemd-nspawn.nix
@@ -112,6 +112,7 @@ in {
 
       environment.etc."systemd/nspawn".source = generateUnits "nspawn" units [] [];
 
+      systemd.targets."multi-user".wants = [ "machines.target "];
   };
 
 }