home: rofi: don't enable on headless machines

This commit is contained in:
Antoine Martin 2021-07-29 12:05:06 +02:00
parent bc79f1b8a2
commit d64cb708ff

View file

@ -4,7 +4,7 @@ let
in
{
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 {