Added Wezterm

This commit is contained in:
2026-08-06 15:22:29 +02:00
parent ace626ba0f
commit 83e41739bb
4 changed files with 17 additions and 2 deletions
+4 -2
View File
@@ -4,11 +4,12 @@
{{- $shell := promptBoolOnce . "features.shell" "Do you want to install the Fish shell" true }} {{- $shell := promptBoolOnce . "features.shell" "Do you want to install the Fish shell" true }}
{{- $git := promptBoolOnce . "features.git" "Do you want to install Git" true }} {{- $git := promptBoolOnce . "features.git" "Do you want to install Git" true }}
{{- $editor := promptBoolOnce . "features.editor" "Do you want to install Neovim" true }} {{- $editor := promptBoolOnce . "features.editor" "Do you want to install Neovim" true }}
{{- $nix := promptBoolOnce . "features.editor" "Do you want to install the Nix package manager" true }} {{- $nix := promptBoolOnce . "features.nix" "Do you want to install the Nix package manager" true }}
{{- $terminal := promptBoolOnce . "features.terminal" "Do you want to install Wezterm" true }}
{{- $paru := false -}} {{- $paru := false -}}
{{ if eq .chezmoi.osRelease.id "arch" -}} {{ if eq .chezmoi.osRelease.id "arch" -}}
{{- $paru = promptBoolOnce . "features.editor" "Do you want to install the Paru package manager" true -}} {{- $paru = promptBoolOnce . "features.paru" "Do you want to install the Paru package manager" true -}}
{{- end }} {{- end }}
[data] [data]
@@ -21,3 +22,4 @@ git = {{ $git }}
editor = {{ $editor }} editor = {{ $editor }}
nix = {{ $nix }} nix = {{ $nix }}
paru = {{ $paru }} paru = {{ $paru }}
terminal = {{ $terminal }}
@@ -0,0 +1,6 @@
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
return config
+2
View File
@@ -33,3 +33,5 @@
when: features.nix == true when: features.nix == true
- role: paru - role: paru
when: chezmoi.osRelease.id == "arch" and features.paru == true when: chezmoi.osRelease.id == "arch" and features.paru == true
- role: terminal
when: chezmoi.osRelease.id == "arch" and features.terminal == true
@@ -0,0 +1,5 @@
- name: Install Neovim on Arch
become: true
ansible.builtin.pacman:
name: wezterm
when: chezmoi.osRelease.id == "arch"