dotfiles/nix-conf/home/includes/linux-server.nix

41 lines
872 B
Nix
Raw Normal View History

2022-09-10 14:51:06 +00:00
{ config, pkgs, ... }:
{
2022-10-22 13:37:23 +00:00
imports = [
./common.nix
];
2022-09-10 14:51:06 +00:00
home.packages = with pkgs; [
emacs-nox
irssi
2022-10-22 13:37:23 +00:00
msmtp
neomutt
2022-11-01 11:57:27 +00:00
restic
2022-09-10 14:51:06 +00:00
];
2022-11-04 16:19:34 +00:00
services.gpg-agent = {
enable = true;
pinentryFlavor = "curses";
};
2022-11-07 21:11:09 +00:00
## TODO newSession plugins etc
2022-10-22 15:18:27 +00:00
programs.tmux = {
enable = true;
#terminal = "screen-256color";
2022-11-07 21:11:09 +00:00
prefix = "C-a";
2022-10-22 15:18:27 +00:00
#tmuxp.enable = true;
extraConfig = ''
setw -g window-status-current-format "#[fg=red,bold][#[fg=default]#F#I:#W#F#[fg=red,bold]]#[default]"
setw -g window-status-format "#[fg=green]{#[default]#F#I:#W#F#[fg=green]}#[default]"
set -g status-left-length 17
set -g status-interval 1
set -g status-left "#[fg=yellow]#h#[default]"
2022-11-04 12:01:04 +00:00
set -g status-right "#[fg=magenta,bold]#(/home/djm/bin/showmail.sh)#[fg=blue]%a%d/%m#[fg=yellow]%H:%M:%S"
2022-10-22 15:18:27 +00:00
'';
};
2022-09-10 14:51:06 +00:00
}