mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
udiskie: add sni support
This commit is contained in:
parent
9570cedff6
commit
29ad012763
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,7 @@ let
|
||||||
(if cfg.notify then "n" else "N")
|
(if cfg.notify then "n" else "N")
|
||||||
({ always = "t"; auto = "s"; never = "T"; }.${cfg.tray})
|
({ always = "t"; auto = "s"; never = "T"; }.${cfg.tray})
|
||||||
]
|
]
|
||||||
|
++ optional cfg.sni "--appindicator"
|
||||||
);
|
);
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -36,6 +37,12 @@ in
|
||||||
description = "Whether to show pop-up notifications.";
|
description = "Whether to show pop-up notifications.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sni = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Whether to enable sni (appindicator) support.";
|
||||||
|
};
|
||||||
|
|
||||||
tray = mkOption {
|
tray = mkOption {
|
||||||
type = types.enum [ "always" "auto" "never" ];
|
type = types.enum [ "always" "auto" "never" ];
|
||||||
default = "auto";
|
default = "auto";
|
||||||
|
|
Loading…
Reference in a new issue