minor revision
This commit is contained in:
parent
169fea81e5
commit
88c409fbd4
2 changed files with 5 additions and 8 deletions
|
|
@ -21,11 +21,13 @@ nix flake update
|
||||||
|
|
||||||
### New Host Installation
|
### New Host Installation
|
||||||
```bash
|
```bash
|
||||||
# 1. Initialize disk with disko
|
# For NixOS and disko
|
||||||
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko --flake .#<host>
|
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko --flake .#<host>
|
||||||
|
|
||||||
# 2. Install NixOS
|
|
||||||
sudo nixos-install --flake .#<host>
|
sudo nixos-install --flake .#<host>
|
||||||
|
|
||||||
|
# For nix-darwin
|
||||||
|
sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin -- switch --flake ~/.config/nix#<host>
|
||||||
|
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake ~/.config/nix#<user>@<host>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Occasional Commands
|
### Occasional Commands
|
||||||
|
|
|
||||||
|
|
@ -40,11 +40,6 @@
|
||||||
windowHeight = 999;
|
windowHeight = 999;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Claude Code configuration
|
|
||||||
programs.claude-code-custom = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.username = "yanlin";
|
home.username = "yanlin";
|
||||||
home.homeDirectory = "/Users/yanlin";
|
home.homeDirectory = "/Users/yanlin";
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue