dotfiles/modules/apps/rofi/default.nix

21 lines
552 B
Nix
Raw Normal View History

2021-09-10 11:16:49 +02:00
{ config, lib, pkgs, ... }:
let
base = (home: {
programs.rofi = {
enable = true;
2021-09-29 13:34:38 +02:00
package = pkgs.rofi.override { plugins = with pkgs; [ rofi-calc ]; };
2021-09-10 11:16:49 +02:00
# theme = ~/.dotfiles/config/rofi/dracula_old.rasi;
theme = ./dracula.rasi;
};
2021-09-29 13:34:38 +02:00
home.packages = with pkgs; [ networkmanager_dmenu ];
xdg = {
enable = true;
configFile."networkmanager-dmenu/config.ini".text = ''
[dmenu]
dmenu_command = rofi
'';
};
2021-09-10 11:16:49 +02:00
});
2021-09-29 13:34:38 +02:00
in { home-manager.users.moritz = { ... }: (base "/home/moritz/"); }