nixos/binfmt: restart systemd-binfmt when registrations change

This commit is contained in:
Majiir Paktu 2022-11-05 22:11:02 -04:00 committed by Bjørn Forsman
parent 9519670e6f
commit ad83bff008

View File

@ -321,5 +321,6 @@ in {
"proc-sys-fs-binfmt_misc.mount"
"systemd-binfmt.service"
];
systemd.services.systemd-binfmt.restartTriggers = [ (builtins.toJSON config.boot.binfmt.registrations) ];
};
}