nix-config/modules/rofi/default.nix
Donovan Glover 3119b789f8
nix: Format with alejandra
Alejandra is written in Rust, has more tests than nixfmt, and handles
non-trivial code examples in Nix better.
2023-06-05 20:50:10 -04:00

38 lines
842 B
Nix

{
pkgs,
lib,
...
}: {
home-manager.sharedModules = [
{
programs.rofi = {
enable = true;
package = pkgs.callPackage ../../packages/rofi/wrapper.nix {
rofi-unwrapped = pkgs.callPackage ../../packages/rofi/wayland.nix {};
};
cycle = false;
extraConfig = {
modi = "drun,filebrowser";
font = "Noto Sans CJK JP 12";
show-icons = true;
bw = 0;
display-drun = "";
display-window = "";
display-combi = "";
icon-theme = "Fluent-dark";
terminal = "kitty";
drun-match-fields = "name";
drun-display-format = "{name}";
me-select-entry = "";
me-accept-entry = "MousePrimary";
};
theme = lib.mkForce ./launchpad.rasi;
};
}
];
}