add host install commands
This commit is contained in:
parent
e1a404d43d
commit
52ca9cd04a
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
|
@ -19,6 +19,15 @@ home-manager switch --flake .#yanlin@<host>
|
||||||
nix flake update
|
nix flake update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### New Host Installation
|
||||||
|
```bash
|
||||||
|
# 1. Initialize disk with disko
|
||||||
|
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko --flake .#<host>
|
||||||
|
|
||||||
|
# 2. Install NixOS
|
||||||
|
sudo nixos-install --flake .#<host>
|
||||||
|
```
|
||||||
|
|
||||||
### Occasional Commands
|
### Occasional Commands
|
||||||
```bash
|
```bash
|
||||||
# Garbage collection
|
# Garbage collection
|
||||||
|
|
@ -64,7 +73,6 @@ nixos-rebuild build --flake .#<host>
|
||||||
- `oss` - Rebuild NixOS system
|
- `oss` - Rebuild NixOS system
|
||||||
- `cdf` - Interactive file search with cd
|
- `cdf` - Interactive file search with cd
|
||||||
- `pwdf` - Get file path interactively
|
- `pwdf` - Get file path interactively
|
||||||
- `zi` - Interactive zoxide with fzf
|
|
||||||
|
|
||||||
### Tmux Reminders
|
### Tmux Reminders
|
||||||
- Prefix: `Ctrl-a`
|
- Prefix: `Ctrl-a`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue