Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/danteay/nix-config
- Owner: danteay
- Created: 2023-09-05T03:04:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-05T03:57:10.000Z (over 1 year ago)
- Last Synced: 2024-05-01T16:24:09.329Z (8 months ago)
- Language: Nix
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```