git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #11860 from nathan7/systemd-binfmt

systemd: copy systemd-binfmt.service in

commitef4a0f92e8c79f20224c9cebdc413996090a70ca authorjoachifm <joachifm@users.noreply.github.com> dateWed 2 Mar 2016, 20:47 (11 years ago) parent7c245c41904ef7
1 file changed+2
nixos/modules/system/boot/systemd.nix+2
nixos/modules/system/boot/systemd.nix+2
@@ -160,6 +160,7 @@ let
160160 "systemd-timedated.service"
161161 "systemd-localed.service"
162162 "systemd-hostnamed.service"
163+ "systemd-binfmt.service"
163164 ]
164165
165166 ++ cfg.additionalUpstreamSystemUnits;
@@ -779,6 +780,7 @@ in
779780 systemd.services.systemd-user-sessions.restartIfChanged = false; # Restart kills all active sessions.
780781 systemd.targets.local-fs.unitConfig.X-StopOnReconfiguration = true;
781782 systemd.targets.remote-fs.unitConfig.X-StopOnReconfiguration = true;
783+ systemd.services.systemd-binfmt.wants = [ "proc-sys-fs-binfmt_misc.automount" ];
782784
783785 # Don't bother with certain units in containers.
784786 systemd.services.systemd-remount-fs.unitConfig.ConditionVirtualization = "!container";