1
0
Fork 0
dotfiles/README.md

23 lines
606 B
Markdown
Raw Normal View History

2021-12-27 20:24:27 +00:00
## Installation
```bash
# nix
sh <(curl -L https://nixos.org/nix/install)
sudo echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
sudo echo 'keep-derivations = true' >> /etc/nix/nix.conf
sudo echo 'keep-outputs = true' >> /etc/nix/nix.conf
# home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
# Configuration
cd ~/.config
git clone git@github.com:nifoc/dotfiles.git nixpkgs
home-manager switch --flake ~/.config/nixpkgs/#$USER
sudo cachix use nix-community
```