Merge branch 'main' of github.com:FredzyW/nix

This commit is contained in:
FredzyW 2024-05-22 15:38:28 +02:00
commit 421a1b9012
4 changed files with 25 additions and 33 deletions

View file

@ -77,6 +77,7 @@
grc grc
catppuccin-cursors.macchiatoGreen catppuccin-cursors.macchiatoGreen
xorg.xmodmap xorg.xmodmap
playerctl
#Terminal #Terminal
libsixel libsixel

View file

@ -16,6 +16,10 @@
name = "autopair"; name = "autopair";
src = pkgs.fishPlugins.autopair.src; src = pkgs.fishPlugins.autopair.src;
} }
{
name = "foreign-env";
src = pkgs.fishPlugins.foreign-env.src;
}
{ {
name = "tide"; name = "tide";
src = pkgs.fishPlugins.tide.src; src = pkgs.fishPlugins.tide.src;
@ -40,6 +44,7 @@
shellAbbrs = { shellAbbrs = {
homec="nvim ~/nix/config/home.nix"; homec="nvim ~/nix/config/home.nix";
ls="exa -lag --header"; ls="exa -lag --header";
dev="nix develop --command fish";
}; };
interactiveShellInit = '' interactiveShellInit = ''
set fish_greeting # Disable greeting set fish_greeting # Disable greeting

View file

@ -2,17 +2,14 @@
{ {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font = if myhostname == "desktop" then { font = if myhostname == "laptop" then {
name = "FiraCode Nerd Font"; name = "FiraCode Nerd Font";
size = 18; size = 24;
} else { } else {
name = "FiraCode Nerd Font"; name = "FiraCode Nerd Font";
# size = 18; size = 18;
size = 24;
# size = 30;
}; };
shellIntegration = { shellIntegration = {
# enableZshIntegration = true;
mode = "no-cursor"; mode = "no-cursor";
}; };
theme = "Catppuccin-Macchiato"; theme = "Catppuccin-Macchiato";

View file

@ -1,15 +1,27 @@
{ pkgs, lib, ... }: { lib, config, pkgs, fetchFromGitHub, ... }:
{ {
programs.tmux = { programs.tmux = {
enable = true; enable = true;
mouse = true; mouse = true;
plugins = with pkgs; [ plugins = with pkgs; [
tmuxPlugins.sensible tmuxPlugins.sensible
tmuxPlugins.tmux-fzf # tmuxPlugins.tmux-fzf
tmuxPlugins.pain-control tmuxPlugins.pain-control
tmuxPlugins.sessionist tmuxPlugins.sessionist
# tmuxPlugins.catppuccin {
# tmuxPlugins.weather plugin = tmuxPlugins.dracula;
extraConfig = ''
set -g @dracula-show-battery false
set -g @dracula-show-powerline true
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, tmux-ram-usage, network, network-bandwidth, network-ping, ssh-session, attached-clients, network-vpn, weather, time, mpc, spotify-tui, playerctl, kubernetes-context, synchronize-panes
set -g @dracula-plugins 'playerctl git network time'
set -g @dracula-refresh-rate 10
set -g @dracula-playerctl-format " {{ artist }} - {{ title }}"
set -g @dracula-show-timezone false
set -g @dracula-military-time true
set -g @dracula-day-month true
'';
}
tmuxPlugins.resurrect tmuxPlugins.resurrect
tmuxPlugins.continuum tmuxPlugins.continuum
]; ];
@ -18,30 +30,7 @@
keyMode = "vi"; keyMode = "vi";
escapeTime = 0; escapeTime = 0;
extraConfig = " extraConfig = "
set -g @catppuccin_flavour 'macchiato'
set -g @catppuccin_window_left_separator ''
set -g @catppuccin_window_right_separator ' '
set -g @catppuccin_window_number_position 'right'
set -g @catppuccin_window_middle_separator ' '
set -g @catppuccin_window_default_fill 'number'
set -g @catppuccin_window_current_fill 'number'
set -g @catppuccin_window_current_text '#{pane_current_path}'
set -g @catppuccin_status_left_separator ''
set -g @catppuccin_status_right_separator ' '
set -g @catppuccin_status_fill 'all'
set -g @catppuccin_status_connect_separator 'yes'
run-shell ${pkgs.tmuxPlugins.catppuccin}/share/tmux-plugins/catppuccin/catppuccin.tmux
run-shell ${pkgs.tmuxPlugins.weather}/share/tmux-plugins/weather/weather.tmux
set -g @catppuccin_status_modules_right 'date_time weather'
set -g @catppuccin_window_number_position 'right'
set -g @continuum-boot 'on'
set -g @continuum-restore 'on'
set -g @resurrect-strategy-nvim 'session'
set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-processes 'nvim'
"; ";
}; };
} }