Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/danteay/nix-config

Nix configuration using flakes and home manager
https://github.com/danteay/nix-config

Last synced: about 1 month ago
JSON representation

Nix configuration using flakes and home manager

Awesome Lists containing this project

README

        

# My personal Nix configuration

## Install

1. Install nix packages.

```bash
curl -L https://nixos.org/nix/install | sh
```

2. Enable flakes.

```bash
# ~/.config/nix/nix.conf
experimental-features = nix-command flakes
```

3. Install home-manager.

```bash
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '' -A install
```

4. Clone this repo to `~/.config/home-manager`

```bash
git clone https://github.com/danteay/nix-config.git ~/.config/home-manager
```

### Configure ZSH

1. Add to `/etc/shells` file

```bash
$HOME/.nix-profile/bin/zsh
```

2. Change the default shell

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