users/polybar: format options

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-28 15:33:26 +03:00
parent 3a14bf229f
commit fec1830275
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -23,14 +23,13 @@ let
}; };
in in
{ {
options.local.polybar = with lib; options.local.polybar = with lib; {
{ wifiDevice = mkOption {
wifiDevice = mkOption { type = types.str;
type = types.str; example = "wlp11s0f3u2";
example = "wlp11s0f3u2"; description = "Set your wifi device";
description = "Set your wifi device";
};
}; };
};
config = { config = {
systemd.user.services.polybar = { systemd.user.services.polybar = {