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