flake
This commit is contained in:
parent
66ef7b2388
commit
2de74da98b
1 changed files with 5 additions and 8 deletions
13
flake.nix
13
flake.nix
|
@ -48,16 +48,13 @@
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
|
autoload -Uz manydots-magic
|
||||||
|
manydots-magic
|
||||||
|
|
||||||
source ${pkgs.fzf}/share/fzf/key-bindings.zsh
|
source ${pkgs.fzf}/share/fzf/key-bindings.zsh
|
||||||
source ${pkgs.fzf}/share/fzf/completion.zsh
|
source ${pkgs.fzf}/share/fzf/completion.zsh
|
||||||
|
|
||||||
[ -f "$HOME/.zshrc" ] && emulate sh -c "source $HOME/.zshrc"
|
[ -f "$HOME/.config/zshrc" ] && emulate sh -c "source $HOME/.config/zshrc"
|
||||||
'';
|
|
||||||
|
|
||||||
environment.interactiveShellInit = ''
|
|
||||||
fpath+=("${pkgs.zsh}/share/zsh/${ZSH_VERSION}/functions" "${pkgs.zsh}/share/zsh/functions")
|
|
||||||
autoload -Uz manydots-magic
|
|
||||||
manydots-magic
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
zplug = {
|
zplug = {
|
||||||
|
@ -85,7 +82,7 @@
|
||||||
|
|
||||||
# Link dotfiles without forcing overwrite (fails safely if a file already exists)
|
# Link dotfiles without forcing overwrite (fails safely if a file already exists)
|
||||||
home.file.".tmux.conf".source = ./_tmux.conf;
|
home.file.".tmux.conf".source = ./_tmux.conf;
|
||||||
home.file.".zshrc".source = ./_zshrc;
|
home.file.".config/zshrc".source = ./_zshrc;
|
||||||
home.file.".bashrc".source = ./_bashrc;
|
home.file.".bashrc".source = ./_bashrc;
|
||||||
|
|
||||||
home.file.".local/share/nvim/site/autoload/plug.vim".source = pkgs.fetchurl {
|
home.file.".local/share/nvim/site/autoload/plug.vim".source = pkgs.fetchurl {
|
||||||
|
|
Loading…
Add table
Reference in a new issue