detail setting debian hostname

This commit is contained in:
Matthew Ryan Dillon 2023-01-29 17:56:00 -07:00
parent b4c2428833
commit 6f1f912ac5
2 changed files with 9 additions and 3 deletions

View file

@ -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
``` ```

View file

@ -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 }}