1
Fork 0
satellite/home/features/xorg/rofi/default.nix

29 lines
662 B
Nix
Raw Permalink Normal View History

2023-01-10 02:38:06 +01:00
{ pkgs, config, ... }:
let
2023-03-12 05:24:25 +01:00
base16-rofi = config.lib.stylix.colors {
templateRepo = pkgs.fetchFromGitHub {
owner = "tinted-theming";
repo = "base16-rofi";
sha256 = "03y4ydnd6sijscrrp4qdvckrckscd39r8gyhpzffs60a1w4n76j5";
rev = "3f64a9f8d8cb7db796557b516682b255172c4ab4";
};
2023-01-10 02:38:06 +01:00
};
in
{
home.packages = with pkgs; [ rofi ];
xdg.configFile."rofi/base16.rasi".source = base16-rofi;
2023-01-10 02:38:06 +01:00
xdg.configFile."rofi/config.rasi".text = ''
// Manual config
${builtins.readFile ./config.rasi}
// Inject font
configuration {
2023-03-12 05:24:25 +01:00
font: "${config.stylix.fonts.monospace.name}";
}
2023-01-10 02:38:06 +01:00
// Theme
@import "base16"
2023-01-10 02:38:06 +01:00
'';
}