summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorArian van Putten <aeroboy94@gmail.com>2018-10-21 21:51:51 +0200
committerArian van Putten <aeroboy94@gmail.com>2018-10-21 21:51:51 +0200
commit3be00fa60c93ec4537cd6cf28a1081cc41b671e8 (patch)
tree704ebd2a259a78b9bef5a5655f454963c20416e1 /nixos
parent7c3f27dba9c7cb7b6d5329263ac198ea51a0d4b4 (diff)
downloadnixpkgs-3be00fa60c93ec4537cd6cf28a1081cc41b671e8.tar
nixpkgs-3be00fa60c93ec4537cd6cf28a1081cc41b671e8.tar.gz
nixpkgs-3be00fa60c93ec4537cd6cf28a1081cc41b671e8.tar.bz2
nixpkgs-3be00fa60c93ec4537cd6cf28a1081cc41b671e8.tar.lz
nixpkgs-3be00fa60c93ec4537cd6cf28a1081cc41b671e8.tar.xz
nixpkgs-3be00fa60c93ec4537cd6cf28a1081cc41b671e8.tar.zst
nixpkgs-3be00fa60c93ec4537cd6cf28a1081cc41b671e8.zip
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"
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/systemd-nspawn.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/systemd-nspawn.nix b/nixos/modules/system/boot/systemd-nspawn.nix
index 83fef835436..f4fa0969453 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" ];
-      };
   };
 
 }