make kioskUrl a settable option
This commit is contained in:
@@ -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 [
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
--noerrdialogs \
|
||||
--disable-session-crashed-bubble \
|
||||
--disable-infobars \
|
||||
https://ha.factory.uga.edu
|
||||
${config.modules.sw.kioskUrl}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user