Update README
This commit is contained in:
parent
69a2e20e8f
commit
31b528ce0d
1 changed files with 2 additions and 29 deletions
31
README.md
31
README.md
|
@ -1,32 +1,5 @@
|
||||||
## Installation
|
Main: [git.kempkens.io/daniel/dotfiles](https://git.kempkens.io/daniel/dotfiles)
|
||||||
|
Mirror: [github.com/nifoc/dotfiles](https://github.com/nifoc/dotfiles)
|
||||||
⚠️ I have switched to a combination of `nix-darwin` and `home-manager`. The installation instructions below do not work that setup.
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Click to expand!</summary>
|
|
||||||
|
|
||||||
```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
|
|
||||||
sudo echo 'auto-optimise-store = 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
|
|
||||||
```
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Overlays
|
## Overlays
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue