make kioskUrl a settable option
This commit is contained in:
@@ -38,6 +38,12 @@ in
|
|||||||
default = [];
|
default = [];
|
||||||
description = "Packages to exclude from the default list.";
|
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 [
|
config = mkIf cfg.enable (mkMerge [
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
--noerrdialogs \
|
--noerrdialogs \
|
||||||
--disable-session-crashed-bubble \
|
--disable-session-crashed-bubble \
|
||||||
--disable-infobars \
|
--disable-infobars \
|
||||||
https://ha.factory.uga.edu
|
${config.modules.sw.kioskUrl}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user