Added Wezterm
This commit is contained in:
+4
-2
@@ -4,11 +4,12 @@
|
||||
{{- $shell := promptBoolOnce . "features.shell" "Do you want to install the Fish shell" true }}
|
||||
{{- $git := promptBoolOnce . "features.git" "Do you want to install Git" 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 -}}
|
||||
{{ 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 }}
|
||||
|
||||
[data]
|
||||
@@ -21,3 +22,4 @@ git = {{ $git }}
|
||||
editor = {{ $editor }}
|
||||
nix = {{ $nix }}
|
||||
paru = {{ $paru }}
|
||||
terminal = {{ $terminal }}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
local wezterm = require 'wezterm'
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
|
||||
|
||||
return config
|
||||
@@ -33,3 +33,5 @@
|
||||
when: features.nix == true
|
||||
- role: paru
|
||||
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"
|
||||
Reference in New Issue
Block a user