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
|
||||
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)"
|
||||
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
||||
nix run nix-darwin -- switch --flake ~/.config/nix
|
||||
```
|
||||
|
||||
### Switch
|
||||
|
||||
```sh
|
||||
darwin-rebuild switch --flake ~/.config/nix
|
||||
```
|
||||
|
||||
### Update
|
||||
|
||||
```sh
|
||||
nix flake update --commit-lock-file ~/.config/nix
|
||||
nh darwin switch
|
||||
```
|
||||
|
||||
## NixOS setup
|
||||
|
|
@ -29,16 +23,18 @@ nix flake update --commit-lock-file ~/.config/nix
|
|||
|
||||
```sh
|
||||
git clone ssh://git@codeberg.org/kremer/nix-config.git ~/.config/nix
|
||||
sudo nixos-rebuild switch --flake ~/.config/nix
|
||||
```
|
||||
|
||||
### Switch
|
||||
|
||||
```sh
|
||||
sudo nixos-rebuild switch --flake ~/.config/nix
|
||||
deploy
|
||||
```
|
||||
|
||||
### Update
|
||||
## Update
|
||||
|
||||
```sh
|
||||
nix flake update --commit-lock-file ~/.config/nix
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue