diff --git a/modules/dev/rust.nix b/modules/dev/rust.nix index 6426ff8a..1c852137 100644 --- a/modules/dev/rust.nix +++ b/modules/dev/rust.nix @@ -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 - ''; }; } diff --git a/modules/editors/emacs.nix b/modules/editors/emacs.nix index 86bf9e28..a08a256b 100644 --- a/modules/editors/emacs.nix +++ b/modules/editors/emacs.nix @@ -43,16 +43,6 @@ env.PATH = [ "$HOME/.emacs.d/bin" ]; zsh.rc = lib.readFile ; - - # 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 = [ diff --git a/modules/editors/vim.nix b/modules/editors/vim.nix index 656ea9cb..9aea0032 100644 --- a/modules/editors/vim.nix +++ b/modules/editors/vim.nix @@ -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 - ''; }; }