Files
nixos-config/home/programs/rofi/default.nix
2025-05-07 20:35:17 +02:00

40 lines
904 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
oranchelo-icon-theme
nerd-fonts.jetbrains-mono
];
xsession.initExtra = "setxkbmap de"; # rofi pass needs this to be set
programs.rofi = {
enable = true;
terminal = "${pkgs.alacritty}/bin/alacritty";
theme = ./theme.rafi;
extraConfig = {
mode = "run,drun,window,ssh,network";
con-theme = "Oranchelo";
show-icons = true;
drun-display-format = "{icon} {name}";
location = 0;
disable-history = false;
hide-scrollbar = true;
display-drun = " Apps ";
display-run = " Run ";
display-window = " Window";
display-ssh = " SSH";
sidebar-mode = true;
};
pass = {
enable = true;
extraConfig = ''
EDITOR='rofi-sensible-terminal -e vim'
clibpoard_backend=wl-copy
clip=clipboard
'';
};
};
}