setting up a new wsl vm
This commit is contained in:
parent
779cc9e007
commit
58ac026ff2
2 changed files with 22 additions and 8 deletions
18
README.md
18
README.md
|
@ -5,6 +5,7 @@
|
|||
```bash
|
||||
# debian
|
||||
sudo hostnamectl set-hostname $MY_HOSTNAME.local
|
||||
# or edit /etc/hostname on wsl, since no systemd
|
||||
|
||||
# macos
|
||||
sudo scutil --set HostName $MY_HOSTNAME.local
|
||||
|
@ -13,17 +14,11 @@ sudo scutil --set ComputerName $MY_HOSTNAME
|
|||
dscacheutil -flushcache # maybe reboot, too?
|
||||
```
|
||||
|
||||
2) set the shell (linux-only):
|
||||
2) set up the package manager and bootstrap dependencies:
|
||||
|
||||
```bash
|
||||
# debian
|
||||
chsh -s $(which zsh)
|
||||
```
|
||||
|
||||
3) set up the package manager:
|
||||
|
||||
```bash
|
||||
# debian - nothing to do here
|
||||
sudo apt install curl zsh git
|
||||
|
||||
# macos
|
||||
xcode-select --install
|
||||
|
@ -31,6 +26,13 @@ xcode-select --install
|
|||
# TODO: is there a reasonable unattended install workflow for macports?
|
||||
```
|
||||
|
||||
3) set the shell (linux-only):
|
||||
|
||||
```bash
|
||||
# debian
|
||||
chsh -s $(which zsh)
|
||||
```
|
||||
|
||||
4) install a patched font, [Anonymice Pro](https://www.nerdfonts.com/font-downloads). size 16 or 17, no anti-aliasing
|
||||
|
||||
5) install `age` private key from password manager into `~/.key.txt`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue