1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-23 18:29:47 +01:00

udiskie: add sni support

This commit is contained in:
Anton Plotnikov 2018-07-20 00:55:23 +03:00 committed by Robert Helgesson
parent 9570cedff6
commit 29ad012763
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -13,6 +13,7 @@ let
(if cfg.notify then "n" else "N")
({ always = "t"; auto = "s"; never = "T"; }.${cfg.tray})
]
++ optional cfg.sni "--appindicator"
);
in
@ -36,6 +37,12 @@ in
description = "Whether to show pop-up notifications.";
};
sni = mkOption {
type = types.bool;
default = false;
description = "Whether to enable sni (appindicator) support.";
};
tray = mkOption {
type = types.enum [ "always" "auto" "never" ];
default = "auto";