diff --git a/ubuntu/up.sh b/ubuntu/up.sh index 9413564d..45fc657c 100755 --- a/ubuntu/up.sh +++ b/ubuntu/up.sh @@ -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 '' -A install + ln -vfs $HOME/dev/dotfiles/nixos/home-other-os.nix $HOME/.config/nixpkgs/home.nix home-manager switch