From 3be00fa60c93ec4537cd6cf28a1081cc41b671e8 Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Sun, 21 Oct 2018 21:51:51 +0200 Subject: nixos/systemd-nspawn: Remove dependency on bogus "machine.target" "machine.target" doesn't actually exist, it's misspelled version of "machines.target". However, the "systemd-nspawn@.service" unit already has a default dependency on "machines.target" --- nixos/modules/system/boot/systemd-nspawn.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/nixos/modules/system/boot/systemd-nspawn.nix b/nixos/modules/system/boot/systemd-nspawn.nix index 83fef8354360..f4fa09694537 100644 --- a/nixos/modules/system/boot/systemd-nspawn.nix +++ b/nixos/modules/system/boot/systemd-nspawn.nix @@ -112,9 +112,6 @@ in { environment.etc."systemd/nspawn".source = generateUnits "nspawn" units [] []; - systemd.services."systemd-nspawn@" = { - wantedBy = [ "machine.target" ]; - }; }; } -- cgit 1.4.1