Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Sep 29, 2023
1 parent 6a3770c commit d0a47d7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ Other than that, more of the same...
```bash
sh <(curl -L https://nixos.org/nix/install) --daemon
```
1. Enable community build cache:
1. Enable community build caches and flakes:
```bash
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use nix-community
echo "trusted-users = root carlos" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
```
1. Enable some experimental features:
```bash
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
```
Expand All @@ -45,10 +42,6 @@ Other than that, more of the same...
nix-shell '<home-manager>' -A install
source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
```
1. Update flake (optional)
```bash
nix flake update
```
1. Apply _home-manager_
```bash
home-manager switch --flake ".#carlos@$(hostname)"
Expand Down

0 comments on commit d0a47d7

Please sign in to comment.