home: rofi: don't enable on headless machines
This commit is contained in:
parent
bc79f1b8a2
commit
d64cb708ff
|
@ -4,7 +4,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.my.home.rofi = with lib; {
|
options.my.home.rofi = with lib; {
|
||||||
enable = (mkEnableOption "rofi configuration") // { default = true; };
|
enable = (mkEnableOption "rofi configuration") // { default = config.my.home.x.enable; };
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
Loading…
Reference in a new issue