27 lines
581 B
Nix
27 lines
581 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
desktop = {
|
|
awesome = {
|
|
enable = lib.mkEnableOption "AwesomeWM";
|
|
wifi_device = lib.mkOption {
|
|
type = lib.types.str;
|
|
description = "the default launcher to use";
|
|
default = "nil";
|
|
example = "'wlp3s0'";
|
|
};
|
|
battery_device = lib.mkOption {
|
|
type = lib.types.str;
|
|
description = "the default launcher to use";
|
|
default = "nil";
|
|
example = "'BAT0'";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
imports = [./awesomewm.nix ../xserver];
|
|
}
|