Skip to content

Commit

Permalink
fmo-tool should always generate DDP config on boot
Browse files Browse the repository at this point in the history
Signed-off-by: Anh Huy Bui <buianhhuy96@gmail.com>
  • Loading branch information
buianhhuy96 committed Oct 16, 2024
1 parent 3499560 commit e90920b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/dynamic-device-passthrough-services-host/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ in {

systemd.services."fmo-dynamic-device-passthrough-service" = {
script = ''
if ! [ -f /var/host/vmddp.conf ]; then
${pkgs.fmo-tool}/bin/fmo-tool ddp generate
fi
${pkgs.fmo-tool}/bin/fmo-tool ddp generate
${pkgs.vhotplug}/bin/vhotplug -a -c /var/host/vmddp.conf
'';
serviceConfig = {
Expand Down

0 comments on commit e90920b

Please sign in to comment.