Skip to content

Commit

Permalink
fix: minor home page + chezmoi post edits
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Mar 20, 2024
1 parent af2df17 commit d3f253a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ title: Théo Bori

 
I support F(L)OSS and pubnixes values, I love UNIX systems.
I'm an Arch Linux enthusiast.
 
Everything I make is open source and available on [GitHub](https://github.com/theobori) and [Gitea](https://git.theobori.cafe/nagi).
I also have a [CTFtime](https://ctftime.org/user/67138) and a [LinkedIn](https://www.linkedin.com/in/theo-bori) profile.
Expand Down
11 changes: 5 additions & 6 deletions posts/chezmoi.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ My configuration template looks like this (below) in the `.chezmoi.yaml.tmpl` fi
{{ if stdinIsATTY }}
{{ $has_age = promptBool "do you have age " }}
{{ $sudo = promptString "sudo or doas " }}
{{ $font = promptString "font name " }}
{{ end }}
{{ if and (ne $sudo "sudo") (ne $sudo "doas") }}
{{ $sudo = "sudo" }}
{{- $sudo_choices := list "sudo" "doas" -}}
{{- $sudo = promptChoiceOnce . "choice" "choose" $sudo_choices -}}
{{ $font = promptString "font name " }}
{{ end }}
{{ if $has_age }}
Expand All @@ -49,7 +48,7 @@ data:
{% endraw %}
 

For the moment the repository is only compatible with Fedora only, however it is easy to implement other distributions.
For the moment the repository is only compatible with Fedora and Arch Linux, however it is easy to implement other distributions.

## Apply from a different machine
 
Expand Down
11 changes: 5 additions & 6 deletions public_gemini/chezmoi.gmi
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ My configuration template looks like this (below) in the .chezmoi.yaml.tmpl file

{{ if stdinIsATTY }}
{{ $has_age = promptBool "do you have age " }}
{{ $sudo = promptString "sudo or doas " }}
{{ $font = promptString "font name " }}
{{ end }}

{{ if and (ne $sudo "sudo") (ne $sudo "doas") }}
{{ $sudo = "sudo" }}
{{- $sudo_choices := list "sudo" "doas" -}}
{{- $sudo = promptChoiceOnce . "choice" "choose" $sudo_choices -}}

{{ $font = promptString "font name " }}
{{ end }}

{{ if $has_age }}
Expand All @@ -49,7 +48,7 @@ data:

{% endraw %}

For the moment the repository is only compatible with Fedora only, however it is easy to implement other distributions.
For the moment the repository is only compatible with Fedora and Arch Linux, however it is easy to implement other distributions.

## Apply from a different machine

Expand Down
11 changes: 5 additions & 6 deletions public_gopher/chezmoi.gph
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ My configuration template looks like this (below) in the `.chezmoi.yaml.tmpl` fi

{{ if stdinIsATTY }}
{{ $has_age = promptBool "do you have age " }}
{{ $sudo = promptString "sudo or doas " }}
{{ $font = promptString "font name " }}
{{ end }}

{{ if and (ne $sudo "sudo") (ne $sudo "doas") }}
{{ $sudo = "sudo" }}
{{- $sudo_choices := list "sudo" "doas" -}}
{{- $sudo = promptChoiceOnce . "choice" "choose" $sudo_choices -}}

{{ $font = promptString "font name " }}
{{ end }}

{{ if $has_age }}
Expand All @@ -48,7 +47,7 @@ data:
```
{% endraw %}

For the moment the repository is only compatible with Fedora only, however it is easy to implement other distributions.
For the moment the repository is only compatible with Fedora and Arch Linux, however it is easy to implement other distributions.

## Apply from a different machine

Expand Down

0 comments on commit d3f253a

Please sign in to comment.