diff --git a/kiosk.nix b/kiosk.nix index ea9ad55..5a75fd9 100644 --- a/kiosk.nix +++ b/kiosk.nix @@ -24,8 +24,10 @@ in }; # Set firefox autoplay policy to always allow autoplay for dashboard + # and disable checking for default browser programs.firefox.policies = { - Permissions.Autoplay.Allow = [ dashboardUrl ]; + Permissions.Autoplay.Default = "allow-audio-video"; + Preferences."browser.shell.checkDefaultBrowser".Value = false; DontCheckDefaultBrowser = true; };