34 lines
578 B
Nix
34 lines
578 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
options = {
|
|
desktop.shell = {
|
|
walker.enable = lib.mkEnableOption "enable walker";
|
|
rofi.enable = lib.mkEnableOption "enable rofi";
|
|
launcher = lib.mkOption {
|
|
default = (if config.desktop.shell.walker.enable then "walker" else null);
|
|
description = "default launcher";
|
|
};
|
|
};
|
|
};
|
|
|
|
config = {
|
|
environment.systemPackages =
|
|
with pkgs;
|
|
[
|
|
]
|
|
++ (
|
|
if config.desktop.shell.rofi.enable then
|
|
|
|
[ rofi ]
|
|
else
|
|
[ ]
|
|
);
|
|
};
|
|
}
|