dotfiles/modules/desktop/rofi.nix
2022-05-03 21:11:31 -04:00

19 lines
348 B
Nix

{ config, pkgs, lib, identity, ... }:
{
config = lib.mkIf config.services.xserver.enable {
home-manager.users.${identity.user}.programs.rofi = {
enable = true;
cycle = true;
location = "center";
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
};
launcherCommand = "${pkgs.rofi}/bin/rofi -show run";
};
}