2021-09-16 01:03:52 +03:00

20 lines
482 B
Nix

{ pkgs, config, lib, ... }:
let
thm = config.lib.base16.theme;
themeFile = config.lib.base16.templateFile { name = "rofi"; };
in
{
defaultApplications.dmenu = {
cmd = "${pkgs.rofi}/bin/rofi -show run";
desktop = "rofi";
};
home-manager.users.alukard = {
programs.rofi = {
enable = true;
font = "${thm.fonts.mono.family} ${thm.fontSizes.header.str}";
terminal = config.defaultApplications.term.cmd;
theme = "${themeFile}";
};
};
}