1
Fork 0
satellite/modules/applications/rofi/default.nix

24 lines
515 B
Nix
Raw Normal View History

2022-05-11 19:08:21 +02:00
{ pkgs, lib, ... }:
let
theme = pkgs.myThemes.current;
rofi = pkgs.rofi.override
{
plugins = with pkgs;[
rofi-power-menu
rofi-calc
rofi-emoji
];
};
in
{
home-manager.users.adrielus = {
home.packages = [ rofi ];
2022-08-10 16:27:03 +02:00
home.file.".local/share/rofi/themes".source = theme.rofi.themes or "/home/adrielus/.temp-empty-rofi-themes-directory";
2022-05-11 19:08:21 +02:00
xdg.configFile."rofi/config.rasi".text = ''
@import "${./pre.rasi}"
2022-05-11 23:11:54 +02:00
${theme.rofi.config or ""}
2022-05-11 19:08:21 +02:00
'';
};
}