about summary refs log blame commit diff stats
path: root/linux/200.txt
blob: 9bfc1c20637a9b305b10f2d955b904c5758b0a93 (plain) (tree)
table else # On other systems use master, and add nixpkgs-unstable as unstable for compatibility between NixOS and non-NixOS installations nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable fi nix-channel --update export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels${NIX_PATH:+:$NIX_PATH} nix-shell '<home-manager>' -A install HOME_CONF="$HOME/dotfiles/nix-conf/home/${CONF:-${HOST}}.nix" [ -f $HOME_CONF ] && ln -sf $HOME_CONF ~/.config/nixpkgs/home.nix ln -sf ~/dotfiles/.p10k.zsh ~/ ln -sf ~/dotfiles/.emacs.d ~/ echo -n $EMAIL > ~/email.txt home-manager switch