First working zsh config for nix on ubuntu

This commit is contained in:
Cyryl Płotnicki 2019-11-21 22:34:50 +00:00
parent b8390387a9
commit 2838b9f26a
3 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 1d58546406bc8f13b910141265f67dbe2f08bd5f Subproject commit 1f4601e44c989b90dc7314b151891fa60a101251

View file

@ -23,7 +23,6 @@ in
imports = [ imports = [
./programs/tmux.nix ./programs/tmux.nix
./programs/zsh.nix ./programs/zsh.nix
./programs/vim.nix
./programs/alacritty.nix ./programs/alacritty.nix
./programs/git.nix ./programs/git.nix
]; ];

View file

@ -14,7 +14,7 @@ curl https://nixos.org/nix/install | sh
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
nix-channel --add https://github.com/rycee/home-manager/archive/release-19.03.tar.gz home-manager nix-channel --add https://github.com/rycee/home-manager/archive/release-19.09.tar.gz home-manager
nix-channel --update nix-channel --update
nix-shell '<home-manager>' -A install nix-shell '<home-manager>' -A install
@ -22,4 +22,6 @@ nix-shell '<home-manager>' -A install
ln -vfs $HOME/dev/dotfiles/nixos/home-other-os.nix $HOME/.config/nixpkgs/home.nix ln -vfs $HOME/dev/dotfiles/nixos/home-other-os.nix $HOME/.config/nixpkgs/home.nix
home-manager switch home-manager switch
sudo chsh -s /home/cyryl/.nix-profile/bin/zsh cyryl