mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat: add nixos and hm config
This commit is contained in:
parent
8db7f8a1e9
commit
ffafb4a329
54 changed files with 1282 additions and 0 deletions
30
nixcfgs/users/js0ny/programs/shell.nix
Normal file
30
nixcfgs/users/js0ny/programs/shell.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{pkgs, ...}: let
|
||||
commonAliases = {
|
||||
v = "nvim";
|
||||
g = "lazygit";
|
||||
ni = "touch";
|
||||
cls = "clear";
|
||||
ii = "open";
|
||||
c = "codium";
|
||||
aic = "aichat -s";
|
||||
};
|
||||
in {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = "set fish_greeting";
|
||||
# preferAbbrs = true;
|
||||
shellAbbrs = commonAliases;
|
||||
};
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autocd = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
dotDir = "/home/js0ny/.config/zsh";
|
||||
shellAliases = commonAliases;
|
||||
};
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
shellAliases = commonAliases;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue