make kioskUrl a settable option

This commit is contained in:
2025-12-10 09:20:34 -05:00
parent 183914b194
commit d4835360f5
2 changed files with 7 additions and 1 deletions

View File

@@ -38,6 +38,12 @@ in
default = [];
description = "Packages to exclude from the default list.";
};
kioskUrl = mkOption {
type = types.str;
default = "https://ha.factory.uga.edu";
description = "URL to open in Chromium kiosk mode.";
};
};
config = mkIf cfg.enable (mkMerge [

View File

@@ -149,7 +149,7 @@
--noerrdialogs \
--disable-session-crashed-bubble \
--disable-infobars \
https://ha.factory.uga.edu
${config.modules.sw.kioskUrl}
'';
};
};