add for home

This commit is contained in:
kagura114 2024-10-20 12:36:29 +08:00
parent 33d2bbc413
commit 83d51aef99
2 changed files with 10 additions and 3 deletions

3
config/gdbinit Normal file
View file

@ -0,0 +1,3 @@
set disassembly-flavor att
set pagination off
layout asm

View file

@ -14,16 +14,17 @@ let
fzf fzf
zsh-fzf-tab zsh-fzf-tab
git # TUI packages
eza eza
fuzzel yazi
hyfetch hyfetch
btop btop
gnupg gnupg
vlc vlc
fuzzel
]; ];
nixosOnlyPackages = with pkgs; [ nixosOnlyPackages = with pkgs; [ # GUI programs should be here only
kitty # On other platforms this cause OpenGL Error kitty # On other platforms this cause OpenGL Error
# Dev tools # Dev tools
@ -39,6 +40,7 @@ let
google-chrome google-chrome
jetbrains-toolbox jetbrains-toolbox
libreoffice-qt6-fresh libreoffice-qt6-fresh
vlc
unstable.android-studio unstable.android-studio
unstable.jadx unstable.jadx
@ -85,6 +87,7 @@ in
".config/fuzzel/fuzzel.ini".source = ./config/fuzzel.ini; ".config/fuzzel/fuzzel.ini".source = ./config/fuzzel.ini;
".config/kitty/kitty.conf".source = ./config/kitty.conf; ".config/kitty/kitty.conf".source = ./config/kitty.conf;
".ssh/config".source = ./config/ssh; ".ssh/config".source = ./config/ssh;
".gdbinit" = ./config/gdbinit;
}; };
home.sessionVariables = { home.sessionVariables = {
@ -149,6 +152,7 @@ in
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
[[ ! -f ~/.scripts/github.sh ]] || source ~/.scripts/github.sh [[ ! -f ~/.scripts/github.sh ]] || source ~/.scripts/github.sh
[[ ! -f ~/.cargo/bin ]] || export PATH=`realpath ~`/.cargo/bin:$PATH
''; '';
}; };
} }