mirror of
https://codeberg.org/icewind/haze.git
synced 2026-11-30 04:30:47 +01:00
nix module tray proxy setting
This commit is contained in:
parent
add7caf896
commit
313c95ffe0
1 changed files with 6 additions and 3 deletions
|
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue