detail setting debian hostname
This commit is contained in:
parent
b4c2428833
commit
6f1f912ac5
2 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,11 @@
|
||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
|
on debian machines, first set the fqdn:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
chezmoi init ssh://git@pingo.thermokar.st/dotfiles --apply --guess-repo-url=false
|
sudo hostnamectl set-hostname $MY_HOSTNAME.local
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sh -c "$(curl -fsLS get.chezmoi.io)" -- init ssh://git@pingo.thermokar.st/dotfiles --apply --guess-repo-url=false
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{- if eq .chezmoi.hostname "devterm" }}
|
{{ if eq .chezmoi.hostname "devterm" -}}
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
ripgrep \
|
ripgrep \
|
||||||
|
@ -10,4 +10,4 @@ sudo apt install \
|
||||||
tree \
|
tree \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
git
|
git
|
||||||
{{- end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue