nixos/binfmt: restart systemd-binfmt when registrations change
This commit is contained in:
committed by
Bjørn Forsman
parent
9519670e6f
commit
ad83bff008
@@ -321,5 +321,6 @@ in {
|
|||||||
"proc-sys-fs-binfmt_misc.mount"
|
"proc-sys-fs-binfmt_misc.mount"
|
||||||
"systemd-binfmt.service"
|
"systemd-binfmt.service"
|
||||||
];
|
];
|
||||||
|
systemd.services.systemd-binfmt.restartTriggers = [ (builtins.toJSON config.boot.binfmt.registrations) ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user