Add missing nix channel info for ubuntu
This commit is contained in:
parent
87c5870a28
commit
7d85e8e8fc
1 changed files with 6 additions and 1 deletions
|
@ -11,9 +11,14 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
|
||||||
|
|
||||||
curl https://nixos.org/nix/install | sh
|
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
|
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
|
ln -vfs $HOME/dev/dotfiles/nixos/home-other-os.nix $HOME/.config/nixpkgs/home.nix
|
||||||
|
|
||||||
home-manager switch
|
home-manager switch
|
||||||
|
|
Loading…
Reference in a new issue