update readme
This commit is contained in:
parent
fa04def7a1
commit
bc5c76eef1
1 changed files with 3 additions and 3 deletions
|
|
@ -23,13 +23,13 @@ nix flake update
|
||||||
### New Host Installation
|
### New Host Installation
|
||||||
```bash
|
```bash
|
||||||
# For NixOS and disko
|
# For NixOS and disko
|
||||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko --flake github:Logan-Lin/nix-config#<host>
|
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko --flake git+https://git.yanlincs.com/yanlin/nix#<host>
|
||||||
sudo nixos-install --flake .#<host>
|
sudo nixos-install --flake .#<host>
|
||||||
|
|
||||||
# For nix-darwin
|
# For nix-darwin
|
||||||
xcode-select --install
|
xcode-select --install
|
||||||
sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake github:Logan-Lin/nix-config#<host>
|
sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake git+https://git.yanlincs.com/yanlin/nix#<host>
|
||||||
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake github:Logan-Lin/nix-config#<user>@<host>
|
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake git+https://git.yanlincs.com/yanlin/nix#<user>@<host>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Occasional Commands
|
### Occasional Commands
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue