nixpkgs/nixos/modules
Arthur Gautier 08f4fe2087 qemu-vm: stop the swtpm once qemu stops
The idea is to run an async process waiting for swtpm
and we have to ensure that `FD_CLOEXEC` is cleared on this process'
stdin file descriptor, we use `fdflags` for this, a loadable builtin in
Bash ≥ 5.

The async process when exited will terminate `swtpm`, we bind the
termination of the async process to the termination of QEMU by virtue of
having `qemu` exec in that Bash script.

Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
2023-10-23 01:02:24 +02:00
..
config Merge pull request #242098 from hercules-ci/nixos-no-nix-channel 2023-07-18 15:27:24 +02:00
hardware rtl8723bs-firmware: cleanup 2023-07-03 14:22:20 +00:00
i18n/input-method treewide: use more lib.optionalString 2023-04-07 13:38:33 +02:00
installer Merge pull request #183314 from DeterminateSystems/optional-swraid 2023-07-13 16:24:34 -04:00
misc Merge pull request #241462 from SuperSandro2000/remove-ddclient 2023-07-08 14:33:00 +02:00
profiles boot.initrd.services.swraid -> boot.swraid 2023-07-10 20:20:08 +02:00
programs nixos/oddjob: init at 0.34.7 2023-07-18 10:48:07 -05:00
security pam_dp9ik: init at 1.5 2023-07-09 14:12:21 -05:00
services Merge pull request #243850 from mattchrist/nixos/freshrss_auth_type 2023-07-20 18:58:45 +02:00
system Merge pull request #244033 from SuperSandro2000/issue-243820 2023-07-20 00:43:33 -04:00
tasks nixos/swraid: Add missing mkRenamedOption 2023-07-15 03:56:54 +02:00
testing Merge pull request #219106 from m-bdf/nixos-testing-increase-device-timeout 2023-06-20 11:48:45 +02:00
virtualisation qemu-vm: stop the swtpm once qemu stops 2023-10-23 01:02:24 +02:00
module-list.nix Merge pull request #201562 from jdbaldry/add/osquery 2023-07-20 11:06:46 +02:00
rename.nix nixos/osquery: init 2023-07-19 16:55:29 +02:00