Alacritty

This commit is contained in:
Filippo Berto 2021-05-22 14:49:06 +02:00
parent 0aae761f89
commit 8af06b2703
4 changed files with 70 additions and 2 deletions

View file

@ -55,8 +55,10 @@ in {
./modules/qogir_theme.nix
./modules/rofi.nix
./modules/screen_locker.nix
./modules/ssh.nix
./modules/sxhkd.nix
./modules/terminator.nix
./modules/tmux.nix
];
programs = {

View file

@ -48,7 +48,7 @@ in {
};
};
normal = {
black = nord.n1;
black = nord.n0;
red = nord.n11;
green = nord.n14;
yellow = nord.n13;
@ -75,7 +75,7 @@ in {
blue = "#68809a";
magenta = "#8c738c";
cyan = "#6d96a5";
white = "#aeb3bb";
white = nord.n4;
};
};
};

45
modules/ssh.nix Normal file
View file

@ -0,0 +1,45 @@
{
programs.ssh = {
enable = true;
compression = true;
matchBlocks = {
"gitlab.com" = {
hostname = "gitlab.com";
identityFile = "~/.ssh/gitlab";
identitiesOnly = true;
};
"github.com" = {
hostname = "github.com";
identityFile = "~/.ssh/github";
identitiesOnly = true;
};
"bitbucket.com" = {
hostname = "bitbucket.com";
identityFile = "~/.ssh/bitbucket";
identitiesOnly = true;
};
"aur.archlinux.org" = {
hostname = "aur.archlinux.org";
identityFile = "~/.ssh/aur";
identitiesOnly = true;
};
"heroku.com" = {
hostname = "heroku.com";
identityFile = "~/.ssh/heroku";
identitiesOnly = true;
};
"ngrok.io" = {
identityFile = "~/.ssh/local";
identitiesOnly = true;
};
"172.27.108.?" = {
hostname = "172.27.108.*";
identityFile = "~/.ssh/local";
identitiesOnly = true;
};
"*" = {
identityFile = "~/.ssh/id_ed25519";
};
};
};
}

21
modules/tmux.nix Normal file
View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
programs.tmux = {
enable = true;
clock24 = true;
escapeTime = 25;
plugins = with pkgs; [
tmuxPlugins.continuum
tmuxPlugins.prefix-highlight
tmuxPlugins.nord
];
extraConfig = ''
set -g mouse on
'';
# set -g default-terminal "screen"
# set -ga terminal-overrides ",col:Tc"
};
}