Fix android build.
This commit is contained in:
parent
a1f4bae2a6
commit
4b0b8897a3
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
borderSize = toString config.module.style.window.border;
|
borderSize = toString config.module.style.window.border;
|
||||||
dpiAware = if config.module.dpi.aware then "yes" else "no";
|
dpiAware = if (config.module.dpi.aware or false) then "yes" else "no";
|
||||||
fontStep = 1;
|
fontStep = 1;
|
||||||
in {
|
in {
|
||||||
file = (pkgs.formats.iniWithGlobalSection { }).generate "FootConfig" {
|
file = (pkgs.formats.iniWithGlobalSection { }).generate "FootConfig" {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
dpiAware = if config.module.dpi.aware then "yes" else "no";
|
dpiAware = if (config.module.dpi.aware or false) then "yes" else "no";
|
||||||
in {
|
in {
|
||||||
file = (pkgs.formats.ini { }).generate "FuzzelConfig" {
|
file = (pkgs.formats.ini { }).generate "FuzzelConfig" {
|
||||||
main = {
|
main = {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
}: {
|
}: {
|
||||||
text = ''
|
text = ''
|
||||||
require("gen").setup {
|
require("gen").setup {
|
||||||
model = "${config.module.ollama.primaryModel}"
|
model = "${config.module.ollama.primaryModel or ""}"
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
input type:keyboard {
|
input type:keyboard {
|
||||||
xkb_layout ${config.module.keyboard.layouts}
|
xkb_layout ${config.module.keyboard.layouts or ""}
|
||||||
xkb_options ${config.module.keyboard.options}
|
xkb_options ${config.module.keyboard.options or ""}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Hide mouse cursor after a period of inactivity.
|
# Hide mouse cursor after a period of inactivity.
|
||||||
|
|
|
@ -143,8 +143,8 @@ in {
|
||||||
temperature = {
|
temperature = {
|
||||||
critical-threshold = 80;
|
critical-threshold = 80;
|
||||||
format = "{temperatureC}°C";
|
format = "{temperatureC}°C";
|
||||||
hwmon-path-abs = "${config.module.hwmon.path}";
|
hwmon-path-abs = "${config.module.hwmon.path or ""}";
|
||||||
input-filename = "${config.module.hwmon.file}";
|
input-filename = "${config.module.hwmon.file or ""}";
|
||||||
interval = refreshInterval;
|
interval = refreshInterval;
|
||||||
on-click = "foot -e bash -c btop";
|
on-click = "foot -e bash -c btop";
|
||||||
on-click-right = "powersave toggle";
|
on-click-right = "powersave toggle";
|
||||||
|
|
Loading…
Reference in a new issue