aboutsummaryrefslogtreecommitdiffstats
path: root/modules/networking/usque/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/networking/usque/default.nix')
-rw-r--r--modules/networking/usque/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/networking/usque/default.nix b/modules/networking/usque/default.nix
index aa3304c..36ec12e 100644
--- a/modules/networking/usque/default.nix
+++ b/modules/networking/usque/default.nix
@@ -71,5 +71,19 @@ in
(lib.mkIf cfg.warp.enable {
home.packages = [ cfg.warp.package ];
})
+ (lib.mkIf (cfg.warp.enable && config.desktop.enable) {
+ desktop.rofi.action.actions = [
+ {
+ name = "WARP Connect";
+ command = "${lib.getExe cfg.warp.package} connect";
+ icon = "network-vpn-symbolic";
+ }
+ {
+ name = "WARP Disconnect";
+ command = "${lib.getExe cfg.warp.package} disconnect";
+ icon = "network-vpn-disconnected-symbolic";
+ }
+ ];
+ })
];
}