diff options
Diffstat (limited to 'programs')
-rw-r--r-- | programs/aliases.nix | 3 | ||||
-rwxr-xr-x | programs/git.nix | 8 | ||||
-rw-r--r-- | programs/nvim.nix | 4 | ||||
-rw-r--r-- | programs/zsh/zprofile | 2 |
4 files changed, 15 insertions, 2 deletions
diff --git a/programs/aliases.nix b/programs/aliases.nix index 492e3c2..59d94b2 100644 --- a/programs/aliases.nix +++ b/programs/aliases.nix @@ -1,6 +1,7 @@ { + vim = "nvim"; cfd = "cd ~/.config/nixpkgs"; - ch = "vim ~/.config/nixpkgs/home.nix"; + ch = "v ~/.config/nixpkgs/home.nix"; github = "gh repo view --web"; cp = "cp -iv"; diff --git a/programs/git.nix b/programs/git.nix index f773a82..6b0b331 100755 --- a/programs/git.nix +++ b/programs/git.nix @@ -1,6 +1,8 @@ +{ pkgs, ... }: { programs.git = { enable = true; + package = pkgs.gitAndTools.gitFull; userName = "Patryk Niedźwiedziński"; userEmail = "pniedzwiedzinski19@gmail.com"; signing = { @@ -13,8 +15,14 @@ extraConfig = { url."ssh://git@github.com/".insteadOf = "https://github.com/"; + url."ssh://git@github.com/pniedzwiedzinski/".insteadOf = "pn:"; url."ssh://git@gitlab.com/".insteadOf = "https://gitlab.com/"; url."ssh://git@bitbucket.org/".insteadOf = "https://bitbucket.org/"; + + sendemail = { + smtpserver = "${pkgs.msmtp}/bin/msmtp"; + smtpserveroption = [ "-a" "pniedzwiedzinski19@gmail.com" ]; + }; }; }; } diff --git a/programs/nvim.nix b/programs/nvim.nix index 63e923b..d903c4d 100644 --- a/programs/nvim.nix +++ b/programs/nvim.nix @@ -137,6 +137,9 @@ pkgs.neovim.override { map <C-n> :NERDTreeToggle<CR> map <F9> gg=G + + " Fuzzy finding + set path+=** ''; packages.myVimPackage = with pkgs.vimPlugins; { @@ -156,6 +159,7 @@ pkgs.neovim.override { YouCompleteMe Supertab fzf-vim + pkgs.nur.repos.pn.gemini-vim-syntax ]; opt = []; diff --git a/programs/zsh/zprofile b/programs/zsh/zprofile index 58900c6..bc409d3 100644 --- a/programs/zsh/zprofile +++ b/programs/zsh/zprofile @@ -12,7 +12,7 @@ export PATH=$PATH:/apps # Adds gopath to $PATH export PATH=$PATH:~/.local/share/go/bin # Adds scripts to $PATH -export PATH=$PATH:~/scripts +export PATH=~/scripts:$PATH # Default programs: export EDITOR="nvim" |