32 lines
552 B
Nix
32 lines
552 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options.mjallen.programs.waybar = {
|
|
enable = mkEnableOption "enable waybar";
|
|
|
|
layer = mkOption {
|
|
type = types.str;
|
|
default = "top";
|
|
};
|
|
|
|
modules-right = mkOption {
|
|
type = with types; listOf str;
|
|
default = [];
|
|
};
|
|
|
|
networkInterface = mkOption {
|
|
type = types.str;
|
|
default = "wlan0";
|
|
};
|
|
|
|
extraModules = mkOption {
|
|
type = types.attrs;
|
|
default = { };
|
|
};
|
|
|
|
extraModulesStyle = mkOption {
|
|
type = types.str;
|
|
default = "";
|
|
};
|
|
};
|
|
} |