diff --git a/README.md b/README.md index 2e5e1c0..8e1046d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # dotfiles +on debian machines, first set the fqdn: + ```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 ``` diff --git a/home/run_once_install-packages.sh.tmpl b/home/run_once_install-packages.sh.tmpl index d12e3ee..86c779a 100644 --- a/home/run_once_install-packages.sh.tmpl +++ b/home/run_once_install-packages.sh.tmpl @@ -1,4 +1,4 @@ -{{- if eq .chezmoi.hostname "devterm" }} +{{ if eq .chezmoi.hostname "devterm" -}} #!/bin/sh sudo apt install \ ripgrep \ @@ -10,4 +10,4 @@ sudo apt install \ tree \ libssl-dev \ git -{{- end }} +{{ end }}