1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-11-30 12:40:48 +01:00

nix module tray proxy setting

This commit is contained in:
Robin Appelman 2026-11-10 22:28:13 +01:00
commit 313c95ffe0
Signed by: robin
SSH key fingerprint: SHA256:kifqgrqnut7q1YUIrI0AdMNC23qiKAS/T9uGFmIYvbE

View file

@ -41,9 +41,7 @@ with lib; let
if (cfg.proxy == null) if (cfg.proxy == null)
then {} then {}
else { else {
proxy = { inherit (cfg) proxy;
inherit (cfg.proxy) listen https address;
};
} }
)); ));
in { in {
@ -194,6 +192,11 @@ in {
type = types.bool; type = types.bool;
description = "Whether the reverse proxy accepts https connections"; description = "Whether the reverse proxy accepts https connections";
}; };
tray = mkOption {
type = types.bool;
description = "Whether to show the system tray icon";
default = true;
};
}; };
}); });
}; };