NixOS/home/modules/hyprland/rofi.nix

21 lines
363 B
Nix
Raw Normal View History

2024-06-12 09:54:11 +07:00
{ 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"
];
2024-06-12 09:54:11 +07:00
};
}