From d703b19f3a5c4f4a63a942684317418b2ac89b22 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sat, 7 Dec 2024 18:55:10 -0500 Subject: [PATCH] really make sure firefox won't check default browser --- kiosk.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; };