Compare commits
6
Commits
7cfdefa3c9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf73e7a4c1 | ||
|
|
52ccf3df5b | ||
|
|
bbdc871d9e | ||
|
|
3fd9caf7ec | ||
|
|
4e2536bbfd | ||
|
|
09a737f21c |
@@ -31,6 +31,8 @@
|
||||
when: install_jdtls
|
||||
- ansible.builtin.import_tasks: tasks/sqlcmd.yml
|
||||
when: install_sqlcmd
|
||||
- ansible.builtin.import_tasks: tasks/ghostty.yml
|
||||
when: install_ghostty
|
||||
- ansible.builtin.import_tasks: tasks/dotfiles.yml
|
||||
- ansible.builtin.import_tasks: tasks/user_config.yml
|
||||
- ansible.builtin.import_tasks: tasks/pcloud.yml
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
- name: Stat Ghostty installation
|
||||
ansible.builtin.stat:
|
||||
path: /opt/ghostty/Ghostty.AppImage
|
||||
register: ghostty_installed_result
|
||||
|
||||
- name: Create Ghostty install directory
|
||||
ansible.builtin.file:
|
||||
path: /opt/ghostty
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
when: not ghostty_installed_result.stat.exists
|
||||
|
||||
- name: Download Ghostty AppImage
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/pkgforge-dev/ghostty-appimage/releases/download/v{{ ghostty_version }}/Ghostty-{{ ghostty_version }}-{{ ghostty_arch }}.AppImage"
|
||||
dest: /opt/ghostty/Ghostty.AppImage
|
||||
mode: "0755"
|
||||
timeout: 300
|
||||
when: not ghostty_installed_result.stat.exists
|
||||
|
||||
- name: Link Ghostty onto system PATH
|
||||
ansible.builtin.file:
|
||||
src: /opt/ghostty/Ghostty.AppImage
|
||||
dest: /usr/local/bin/ghostty
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Ensure system desktop application directory exists
|
||||
ansible.builtin.file:
|
||||
path: /usr/local/share/applications
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Create Ghostty desktop launcher
|
||||
ansible.builtin.copy:
|
||||
dest: /usr/local/share/applications/ghostty.desktop
|
||||
mode: "0644"
|
||||
content: |
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Ghostty
|
||||
Comment=Ghostty terminal emulator
|
||||
Exec=/usr/local/bin/ghostty
|
||||
Terminal=false
|
||||
Categories=System;TerminalEmulator;
|
||||
@@ -70,3 +70,20 @@
|
||||
content: "{{ git_email }} {{ git_signing_public_key_contents.content | b64decode | trim }}\n"
|
||||
become: false
|
||||
when: git_signing_public_key.stat.exists
|
||||
|
||||
- name: Ensure systemd user environment directory exists
|
||||
ansible.builtin.file:
|
||||
path: "{{ user_home }}/.config/environment.d"
|
||||
state: directory
|
||||
owner: "{{ user_name }}"
|
||||
mode: "0755"
|
||||
become: false
|
||||
|
||||
- name: Configure GTK input method for Ghostty dead keys
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ user_home }}/.config/environment.d/im.conf"
|
||||
owner: "{{ user_name }}"
|
||||
mode: "0644"
|
||||
content: |
|
||||
GTK_IM_MODULE=simple
|
||||
become: false
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
user_name: "{{ lookup('env', 'USER') }}"
|
||||
user_home: "{{ lookup('env', 'HOME') }}"
|
||||
dotfiles_dir: "{{ user_home }}/dotfiles"
|
||||
dotfiles_repo: https://git.public.xn--fl-6ja.fo/bl/dotfiles.git
|
||||
dotfiles_repo: ssh://git@git.flo.fo:2222/FLO/dotfiles.git
|
||||
jdtls_url: https://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz
|
||||
jdtls_install_dir: "{{ user_home }}/.local/share/jdtls"
|
||||
jdtls_bin_dir: "{{ user_home }}/.local/bin"
|
||||
@@ -13,7 +13,7 @@ jdtls_download_retries: 3
|
||||
jdtls_download_delay: 10
|
||||
install_duckdb: true
|
||||
duckdb_version: "1.5.2"
|
||||
proton_mail_version: "1.13.3/ProtonMail-desktop-beta"
|
||||
proton_mail_version: "1.13.4/ProtonMail-desktop-beta"
|
||||
proton_pass_version: "1.37.0-1"
|
||||
proton_authenticator_version: "1.1.6-1"
|
||||
|
||||
@@ -31,10 +31,14 @@ pcloud_appimage_url: "https://plon1.pcloud.com/cBZeyCak57Ztkt7yq7ZZZ8t965kZ2ZZec
|
||||
install_typora: true
|
||||
typora_archive_url: https://downloads.typora.io/linux/Typora-linux-x64.tar.gz
|
||||
typora_archive: /tmp/Typora-linux-x64.tar.gz
|
||||
install_ghostty: true
|
||||
ghostty_version: "1.3.1"
|
||||
ghostty_arch: x86_64
|
||||
|
||||
fedora_packages:
|
||||
# Media and documents
|
||||
- ffmpeg
|
||||
- ImageMagick
|
||||
- fuse
|
||||
- fuse-libs
|
||||
- ghostscript
|
||||
@@ -42,11 +46,14 @@ fedora_packages:
|
||||
- libreoffice
|
||||
- libtiff
|
||||
- libwebp
|
||||
- libX11-devel
|
||||
- openjpeg
|
||||
- tesseract-devel
|
||||
- leptonica-devel
|
||||
- jbig2dec-devel
|
||||
- openjpeg2-devel
|
||||
- eog
|
||||
- wf-recorder
|
||||
- tesseract-langpack-eng
|
||||
- tesseract-langpack-dan
|
||||
- tesseract-langpack-isl
|
||||
|
||||
Reference in New Issue
Block a user