Rofi: Difference between revisions
Appearance
m →Home Manager: use official search.nixos.org for the programs.rofi option link |
category |
||
| Line 27: | Line 27: | ||
}; | }; | ||
};|name=/etc/nixos/home.nix|lang=nix}} | };|name=/etc/nixos/home.nix|lang=nix}} | ||
[[Category:Applications]] | |||
Revision as of 10:35, 1 August 2026
Rofi is a window switcher, run dialog, ssh-launcher and dmenu replacement.
Installation
You can install Rofi simply with:
❄︎ /etc/nixos/configuration.nix
environment.systemPackages = [
pkgs.rofi
];
Home Manager
For a more declarative setup you can use Home Manager. You can find more options at programs.rofi in Home Manager options.
A simple example:
❄︎ /etc/nixos/home.nix
programs.rofi = {
enable = true;
theme = "sidebar";
font = "sans-serif";
package = pkgs.rofi;
modes = [
"drun"
"run"
"window"
"ssh"
];
extraConfig = {
show-icons = true;
};
};