NixOS/home/modules/hyprland/rofi.nix

21 lines
363 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.profile.hyprland;
in
{
config = lib.mkIf cfg.enable {
home.packages = [
pkgs.rofi-wayland
];
home.file.".config/rofi" = {
source = ./rofi;
recursive = true;
};
wayland.windowManager.hyprland.settings.bind = [
"$mod, D, exec, rofi -show drun -replace -i"
];
};
}