Update readme
This commit is contained in:
parent
68e97f5dda
commit
7a4639c50b
1 changed files with 6 additions and 10 deletions
16
README.md
16
README.md
|
|
@ -6,21 +6,15 @@
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
||||||
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
||||||
nix run nix-darwin -- switch --flake ~/.config/nix
|
nix run nix-darwin -- switch --flake ~/.config/nix
|
||||||
```
|
```
|
||||||
|
|
||||||
### Switch
|
### Switch
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
darwin-rebuild switch --flake ~/.config/nix
|
nh darwin switch
|
||||||
```
|
|
||||||
|
|
||||||
### Update
|
|
||||||
|
|
||||||
```sh
|
|
||||||
nix flake update --commit-lock-file ~/.config/nix
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## NixOS setup
|
## NixOS setup
|
||||||
|
|
@ -29,16 +23,18 @@ nix flake update --commit-lock-file ~/.config/nix
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
||||||
|
sudo nixos-rebuild switch --flake ~/.config/nix
|
||||||
```
|
```
|
||||||
|
|
||||||
### Switch
|
### Switch
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo nixos-rebuild switch --flake ~/.config/nix
|
deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
### Update
|
## Update
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
nix flake update --commit-lock-file ~/.config/nix
|
nix flake update --commit-lock-file ~/.config/nix
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue