enable tmux

This commit is contained in:
Pim Kunis 2023-11-03 12:15:59 +01:00
parent 3258451357
commit a01a4e4fc0
4 changed files with 20 additions and 4 deletions

View file

@ -1,3 +1,4 @@
pkgs: config:
{
# Gruvbox theme (https://github.com/alacritty/alacritty-theme/blob/master/themes/gruvbox_dark.yaml)
colors = {
@ -50,4 +51,13 @@
style = "Bold Italic";
};
};
shell = {
program = "${pkgs.bash}/bin/bash";
args = [
"--login"
"-c"
"${config.programs.tmux.package}/bin/tmux"
];
};
}

View file

@ -1,8 +1,9 @@
{ pkgs, config, ... }:
{
config = {
programs.alacritty = {
enable = true;
settings = import ./config.nix;
settings = import ./config.nix pkgs config;
};
};
}