My nix home manager configuration. This will eventually replace my dotfiles repository and maybe even my ansible repository once I get NixOS figured out.
This repository expects nix to already be installed. See home-manager docs for info on how to install home-manager. Once nix and home-manager are installed, clone this repository to ~/.config/home-manager and run home-manager switch to activate the configuration.
- Install Nix
- Clone this repo to ~/.config/home-manager
mkdir -p ~/.config/home-manager
git clone https://github.com/magikid/nix-home.git ~/.config/home-manager
- Install Home Manager
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 nixpkgs
nix-channel --update
nix-shell '<home-manager>' -A install
- Wait
- Reopen your terminal. You may want to reboot too.
- Visit Nix Channel Status and find the current stable version.
- Change the version on the end of
nixpkgs.urlandhome-manager.urlin flake.nix. - Run
home-manager switch --flake $XDG_CONFIG_HOME/home-manager - Wait while everything rebuilds
Licensed under GNU General Public License v3.0 only. See LICENSE file for details.