Get rid of init scripts for rust, emacs and vim

It isn't very reliable.
This commit is contained in:
Henrik Lissner 2020-01-17 16:21:20 -05:00
parent 0f1a58157b
commit 5157b86963
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 0 additions and 24 deletions

View file

@ -21,12 +21,5 @@
alias.rs = "rustc";
alias.rsp = "rustup";
alias.ca = "cargo";
init = ''
if [ ! -d "$RUSTUP_HOME" ]; then
${pkgs.rustup}/bin/rustup update nightly
${pkgs.rustup}/bin/rustup default nightly
fi
'';
};
}

View file

@ -43,16 +43,6 @@
env.PATH = [ "$HOME/.emacs.d/bin" ];
zsh.rc = lib.readFile <config/emacs/aliases.zsh>;
# My emacs config is too stateful to manage with nix
init = ''
if [ ! -d "$HOME/.emacs.d" ]; then
${pkgs.git}/bin/git clone https://github.com/hlissner/doom-emacs "$HOME/.emacs.d"
fi
if [ ! -d "$XDG_CONFIG_HOME/doom" ]; then
${pkgs.git}/bin/git clone https://github.com/hlissner/doom-emacs-private "$XDG_CONFIG_HOME/doom"
fi
'';
};
fonts.fonts = [

View file

@ -13,12 +13,5 @@
env.VIMINIT = "let \\$MYVIMRC='\\$XDG_CONFIG_HOME/nvim/init.vim' | source \\$MYVIMRC";
alias.v = "nvim";
# My vim config is too stateful to manage with nix
init = ''
if [ ! -d "$XDG_CONFIG_HOME/nvim" ]; then
${pkgs.git}/bin/git clone https://github.com/hlissner/.vim "$XDG_CONFIG_HOME/nvim"
fi
'';
};
}