Add missing nix channel info for ubuntu

This commit is contained in:
Cyryl Płotnicki 2019-08-16 15:14:37 +01:00
parent 87c5870a28
commit 7d85e8e8fc

View file

@ -11,9 +11,14 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
curl https://nixos.org/nix/install | sh
. /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
nix-channel --add https://github.com/rycee/home-manager/archive/release-19.03.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
ln -vfs $HOME/dev/dotfiles/nixos/home-other-os.nix $HOME/.config/nixpkgs/home.nix
home-manager switch