major updates

This commit is contained in:
Bit Borealis 2023-07-24 05:34:37 +00:00
parent 39320464a6
commit 6041804840

View file

@ -21,10 +21,8 @@
bat bat
diceware diceware
pwgen pwgen
kitty
git git
srain srain
neovim
neovide neovide
schildichat-desktop schildichat-desktop
dino dino
@ -39,6 +37,7 @@
tdesktop tdesktop
ripgrep ripgrep
tmate tmate
comic-mono
btop btop
firefox firefox
apostrophe apostrophe
@ -48,14 +47,15 @@
wl-clipboard wl-clipboard
adw-gtk3 adw-gtk3
# some bullshit to get gnome apps to install withotu a prefix # some bullshit to get gnome apps to install withotu a prefix
] ++ (with pkgs.gnome; with pkgs.gnomeExtensions; [ ] ++ ( with pkgs.gnome; [
gnome-boxes gnome-boxes
gnome-tweaks gnome-tweaks
dconf-editor dconf-editor
] ++ ( with pkgs.gnomeExtensions; [
night-theme-switcher night-theme-switcher
rounded-window-corners rounded-window-corners
appindicator appindicator
]); ]));
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Home Manager is pretty good at managing dotfiles. The primary way to manage
@ -75,7 +75,9 @@
home.sessionVariables = { home.sessionVariables = {
# system configuration # system configuration
EDITOR = "nvim"; # EDITOR = "nvim";
VISUAL = "neovide --nofork";
NEOVIDE_MULTIGRID = 1;
# fish config # fish config
fish_greeting = " heya ${config.home.username}, welcome to $(hostname) ~"; fish_greeting = " heya ${config.home.username}, welcome to $(hostname) ~";
@ -83,6 +85,18 @@
# configure programs # configure programs
programs.home-manager.enable = true; programs.home-manager.enable = true;
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
coc = {
enable = true;
};
};
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAbbrs = { shellAbbrs = {
@ -94,6 +108,34 @@
nxu = "sudo nixos-rebuild boot --upgrade"; nxu = "sudo nixos-rebuild boot --upgrade";
nxc = "sudo nix-collect-garbage -d"; nxc = "sudo nix-collect-garbage -d";
}; };
shellAliases = {
aria = "aria2c -c -k1M -x10";
dw = "diceware -n 6 -d -";
};
functions = {
edit = ''
if test $XDG_SESSION_TYPE != tty
$VISUAL $argv
else
$EDITOR $argv
end
'';
fish_prompt = ''
set -l last_status $status
prompt_login
echo -n ' : '
set_color $fish_color_cwd
echo -n (prompt_pwd)
set_color normal
fish_vcs_prompt '|%s'
echo " "
if not test $last_status -eq 0
set_color $fish_color_error
end
echo -n "> "
set_color normal
'';
};
interactiveShellInit = '' interactiveShellInit = ''
fish_add_path ~/.local/bin fish_add_path ~/.local/bin
fish_add_path ~/.local/bin/scripts fish_add_path ~/.local/bin/scripts
@ -110,6 +152,32 @@ fish_vi_key_bindings
PASSWORD_STORE_CLIP_TIME = "60"; PASSWORD_STORE_CLIP_TIME = "60";
}; };
}; };
programs.kitty = {
enable = true;
shellIntegration.enableFishIntegration = true;
theme = "Catppuccin-Mocha";
settings = {
tab_bar_style = "powerline";
tab_powerline_style = "round";
hide_window_decorations = true;
tab_bar_edge = "top";
remember_window_size = false;
initial_window_widthc = 216;
initial_window_heightc = 168;
allow_remote_control = true;
shell = "fish";
editor = "nvim";
font_family = "Comic Mono";
font_size = 13;
};
};
programs.browserpass.enable = true; programs.browserpass.enable = true;
programs.gpg.enable = true; programs.gpg.enable = true;
# themeing
qt = {
enable = true;
platformTheme = "gnome";
style.name = "adwaita";
};
} }