Fixed some config of dwm, tmux alacritty

This commit is contained in:
FredzyW 2024-07-17 07:56:13 +02:00
parent 64e0a79009
commit 968b15968b
4 changed files with 110 additions and 88 deletions

View file

@ -17,12 +17,12 @@
networking.hostName = myhostname; networking.hostName = myhostname;
services.k3s = { # services.k3s = {
enable = true; # enable = true;
role = "server"; # role = "server";
token = "supersupersecretkey"; # token = "supersupersecretkey";
clusterInit = true; # clusterInit = true;
}; # };
# services = { # services = {
# syncthing = { # syncthing = {

View file

@ -3,6 +3,28 @@
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
settings = { settings = {
env = {
TERM = "alacritty";
};
font = {
normal = {
family = "FiraCode Nerd Font";
style = "SemiBold";
};
bold = {
family = "FiraCode Nerd Font";
style = "Bold";
};
italic = {
family = "FiraCode Nerd Font";
style = "Light";
};
bold_italic = {
family = "FiraCode Nerd Font";
style = "Regular";
};
size = 9;
};
colors = { colors = {
primary = { primary = {
background = "#1e1e2e"; background = "#1e1e2e";

View file

@ -3,7 +3,7 @@ let
dwm = pkgs.dwm.overrideAttrs (old: { dwm = pkgs.dwm.overrideAttrs (old: {
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/FredzyW/dwm-conf.git"; url = "https://github.com/FredzyW/dwm-conf.git";
rev = "eb3015553442df6a92a79d47ff4ace8297edb9cb"; rev = "964a3b9c94e780636a1a4ef01afb90ab8de4bb6d";
}; };
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
xorg.libX11.dev xorg.libX11.dev

View file

@ -34,11 +34,11 @@
]; ];
prefix = "C-a"; prefix = "C-a";
terminal = "xterm-256color"; terminal = "alacritty";
keyMode = "vi"; keyMode = "vi";
escapeTime = 0; escapeTime = 0;
extraConfig = " extraConfig = ''
set-option -ga terminal-overrides ",alacritty:Tc"
"; '';
}; };
} }