My configuration files.
curl -L https://nixos.org/nix/install | sh
. /home/$USER/.nix-profile/etc/profile.d/nix.sh
nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
rm /home/$USER/.config/nixpkgs/home.nix
mkdir ~/Workspace && cd ~/Workspace
git clone https://github.com/khssnv/configuration.git
cd configuration
ln -s ~/Workspace/configuration/home.nix ~/.config/nixpkgs/home.nix
home-manager switch
command -v zsh | sudo tee -a /etc/shells
sudo chsh -s "$(command -v zsh)" "${USER}"
- Edit
hardware.nix
considering machinehardware-configuration.nix
- Replace /etc/nixos with symlink to local repo copy