mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 08:26:25 +00:00
20 lines
508 B
Nix
20 lines
508 B
Nix
{ pkgs, ... }:
|
|
let
|
|
theme = {
|
|
colors = {
|
|
black = "#282c34";
|
|
blue = "#61afef";
|
|
yellow = "#e5c07b";
|
|
red = "#06c75";
|
|
white = "#aab2bf";
|
|
green = "#98c379";
|
|
visual_grey = "#3e4452";
|
|
comment_grey = "#5c6370";
|
|
};
|
|
};
|
|
themeFile = pkgs.templateFile "onedark-theme.tmux" ./tmux/theme.tmux.tpl theme;
|
|
tmuxConfig = pkgs.templateFile "tmux.conf" ./tmux/tmux.conf.tpl { theme.path = "${themeFile}"; };
|
|
in
|
|
{
|
|
home.file.".tmux.conf".source = "${tmuxConfig}";
|
|
}
|