23 lines
558 B
Nix
23 lines
558 B
Nix
{ lib, ... }: {
|
|
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 ];
|
|
}
|