feat: Add more stuff
This commit is contained in:
@@ -3,19 +3,36 @@
|
||||
{
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
window = {
|
||||
padding = { x = 4; y = 8; };
|
||||
decorations = "full";
|
||||
opacity = 1;
|
||||
startup_mode = "Windowed";
|
||||
title = "Alacritty";
|
||||
dynamic_title = true;
|
||||
decorations_theme_variant = "None";
|
||||
};
|
||||
|
||||
env = {
|
||||
"TERM" = "alacritty";
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
|
||||
terminal.shell.program = "zsh";
|
||||
|
||||
font = {
|
||||
size = 12;
|
||||
size = 14;
|
||||
normal.family = font;
|
||||
bold.family = font;
|
||||
italic.family = font;
|
||||
};
|
||||
|
||||
cursor = {
|
||||
style = "Block";
|
||||
};
|
||||
|
||||
live_config_reload = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
12
home-manager/configs/firefox.nix
Normal file
12
home-manager/configs/firefox.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox.override {
|
||||
cfg = {
|
||||
# Gnome shell native connector
|
||||
enableGnomeExtensions = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -20,6 +20,9 @@
|
||||
user = {
|
||||
signingKey = "~/.ssh/id_ed25519.pub";
|
||||
};
|
||||
pull = {
|
||||
rebase = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,14 +7,26 @@
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
initExtraFirst = ''
|
||||
[[ "$TERM" == "linux" ]] && return
|
||||
'';
|
||||
|
||||
initExtra = ''
|
||||
source <(nh completions --shell zsh)
|
||||
eval "$(zoxide init zsh)"
|
||||
[[ -z "$TERM" ]] && exec tmux
|
||||
'';
|
||||
|
||||
shellAliases = {
|
||||
update = "sudo nixos-rebuild switch --flake ~/.dotfiles && home-manager switch --flake ~/.dotfiles";
|
||||
".." = "cd ..";
|
||||
ls = "exa";
|
||||
vim = "nvim";
|
||||
grep = "rg";
|
||||
du = "dust";
|
||||
rm = "rip";
|
||||
cp = "xcp";
|
||||
update-os = "nh os switch ~/.dotfiles";
|
||||
update-home = "nh home switch ~/.dotfiles";
|
||||
};
|
||||
|
||||
history = {
|
||||
|
||||
Reference in New Issue
Block a user