Fix README
This commit is contained in:
parent
47d9b710e0
commit
4c52d8a1a7
1 changed files with 21 additions and 17 deletions
38
README.md
38
README.md
|
@ -2,27 +2,31 @@
|
||||||
|
|
||||||
⚠️ I have switched to a combination of `nix-darwin` and `home-manager`. The installation instructions below do not work that setup.
|
⚠️ I have switched to a combination of `nix-darwin` and `home-manager`. The installation instructions below do not work that setup.
|
||||||
|
|
||||||
```bash
|
<details>
|
||||||
# nix
|
<summary>Click to expand!</summary>
|
||||||
sh <(curl -L https://nixos.org/nix/install)
|
|
||||||
|
|
||||||
sudo echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
|
```bash
|
||||||
sudo echo 'keep-derivations = true' >> /etc/nix/nix.conf
|
# nix
|
||||||
sudo echo 'keep-outputs = true' >> /etc/nix/nix.conf
|
sh <(curl -L https://nixos.org/nix/install)
|
||||||
sudo echo 'auto-optimise-store = true' >> /etc/nix/nix.conf
|
|
||||||
|
|
||||||
# home-manager
|
sudo echo 'experimental-features = nix-command flakes' >> /etc/nix/nix.conf
|
||||||
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
sudo echo 'keep-derivations = true' >> /etc/nix/nix.conf
|
||||||
nix-channel --update
|
sudo echo 'keep-outputs = true' >> /etc/nix/nix.conf
|
||||||
nix-shell '<home-manager>' -A install
|
sudo echo 'auto-optimise-store = true' >> /etc/nix/nix.conf
|
||||||
|
|
||||||
# Configuration
|
# home-manager
|
||||||
cd ~/.config
|
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||||
git clone git@github.com:nifoc/dotfiles.git nixpkgs
|
nix-channel --update
|
||||||
home-manager switch --flake ~/.config/nixpkgs/#$USER
|
nix-shell '<home-manager>' -A install
|
||||||
|
|
||||||
sudo cachix use nix-community
|
# Configuration
|
||||||
```
|
cd ~/.config
|
||||||
|
git clone git@github.com:nifoc/dotfiles.git nixpkgs
|
||||||
|
home-manager switch --flake ~/.config/nixpkgs/#$USER
|
||||||
|
|
||||||
|
sudo cachix use nix-community
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
## Overlays
|
## Overlays
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue