desktop is building I guess, idk, need to start commiting stuff eventually lmao
This commit is contained in:
27
modules/home/desktop/extra/waybar/options.nix
Normal file
27
modules/home/desktop/extra/waybar/options.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib, namespace, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.${namespace}.desktop.extra.waybar = {
|
||||
enable = mkEnableOption "enable waybar";
|
||||
|
||||
layer = mkOption {
|
||||
type = types.str;
|
||||
default = "top";
|
||||
};
|
||||
|
||||
modules-right = mkOption {
|
||||
type = with types; listOf string;
|
||||
default = [];
|
||||
};
|
||||
|
||||
networkInterface = mkOption {
|
||||
type = types.str;
|
||||
default = "wlan0";
|
||||
};
|
||||
|
||||
extraModules = mkOption {
|
||||
type = types.attrs;
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user