Add basic README
This commit is contained in:
parent
d2d1c4d5a7
commit
5df48775f8
1 changed files with 22 additions and 0 deletions
22
README.md
Normal file
22
README.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
## 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
|
||||||
|
```
|
Loading…
Reference in a new issue