-
Notifications
You must be signed in to change notification settings - Fork 0
Home
pjan vandaele edited this page Jan 18, 2018
·
4 revisions
- clone this repo & its submodules recursively
- change directory to nixpkgs, add the
channels
remote, and checkout thenixpkgs-unstable
branchgit remote add channels https://github.com/nixos/nixpkgs-channels git remote update channels git checkout nixpkgs-channels
- for each of the submodules, add the forks as remotes:
git remote add pjan [email protected]:pjan/_NAME_.git
-
make nix-install
to installnix
- (new terminal window after 2)
make darwin-install
to install nix-darwin -
reload
(or new terminal window) -
make update
to install & update all the things
sudo rm -rf /nix
sudo rm -rf /etc/nix /nix /var/root/.nix-profile /var/root/.nix-defexpr /var/root/.nix-channels $HOME/.nix-profile $HOME/.nix-defexpr $HOME/.nix-channels
sudo mv /etc/profile.backup-before-nix /etc/profile
sudo mv /etc/bashrc.backup-before-nix /etc/bashrc
sudo mv /etc/zshrc.backup-before-nix /etc/zshrc
sudo launchctl remove org.nixos.nix-daemon
sudo launchctl remove org.nixos.activate-system
sudo launchctl remove org.nixos.collect-garbage