An open API service indexing awesome lists of open source software.

https://github.com/matoking/nix-home

Development environment configuration using Nix + Home Manager
https://github.com/matoking/nix-home

Last synced: about 1 year ago
JSON representation

Development environment configuration using Nix + Home Manager

Awesome Lists containing this project

README

          

# nix-home

1. Install [Nix](https://nixos.org/download.html)

2. Install [Home Manager](https://rycee.gitlab.io/home-manager/)

3. Create symlink

```
rm $HOME/.config/nixpkgs/home.nix
ln -s $HOME/git/nix-home/profiles/home.nix $HOME/.config/nixpkgs/home.nix
```

4. Add the following line into `~/.zshrc`

```
source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
```

5. Just run `home-manager switch` from now on whenever you need to update the current configuration

## Changing default shell

1. Add default shell

```
echo "$HOME/.nix-profile/bin/zsh" | sudo tee -a /etc/shells
```

2. Change default shell

```
chsh -s "$HOME/.nix-profile/bin/zsh"
```

## Automatic installation

Run `bootstrap.sh `. It should work. Maybe.