summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2022-02-17 22:07:05 +0100
committerChristian Kögler <ck3d@gmx.de>2022-02-19 09:52:37 +0100
commit57fc08cfdbd1a3a59f26416814dc10f8379d6e67 (patch)
treeb8c5823f2cb78efa4956bb37c6c83281ef242053 /nixos/modules/system
parenta67c25d5f665674aeb462c36d80fed0f0557e3a7 (diff)
downloadnixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.gz
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.bz2
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.lz
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.xz
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.tar.zst
nixpkgs-57fc08cfdbd1a3a59f26416814dc10f8379d6e67.zip
nixos: Switch to default systemd-nspawn behaviour
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd-nspawn.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/nixos/modules/system/boot/systemd-nspawn.nix b/nixos/modules/system/boot/systemd-nspawn.nix
index 02d2660add8..0c6822319a5 100644
--- a/nixos/modules/system/boot/systemd-nspawn.nix
+++ b/nixos/modules/system/boot/systemd-nspawn.nix
@@ -120,14 +120,6 @@ in {
         })
         {
           systemd.targets.multi-user.wants = [ "machines.target" ];
-
-          # Workaround for https://github.com/NixOS/nixpkgs/pull/67232#issuecomment-531315437 and https://github.com/systemd/systemd/issues/13622
-          # Once systemd fixes this upstream, we can re-enable -U
-          systemd.services."systemd-nspawn@".serviceConfig.ExecStart = [
-            ""  # deliberately empty. signals systemd to override the ExecStart
-            # Only difference between upstream is that we do not pass the -U flag
-            "${config.systemd.package}/bin/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth --settings=override --machine=%i"
-          ];
         }
       ];
 }