Compare commits
No commits in common. "9eb89329752e99160b89a60893979e075d9dd4f3" and "d97740acd7f36b8383e2bde1a4276481cf41a273" have entirely different histories.
9eb8932975
...
d97740acd7
6 changed files with 65 additions and 94 deletions
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
- name: Install Starship
|
||||
ansible.builtin.copy:
|
||||
src: "{{ home_dir }}/Sync/bin/starship-aarch64"
|
||||
dest: "{{ home_dir }}/bin/starship"
|
||||
mode: "0755"
|
||||
|
||||
- name: Install Protonmail Bridge
|
||||
ansible.builtin.copy:
|
||||
src: "{{ home_dir }}/Sync/bin/bridge-aarch64"
|
||||
dest: "{{ home_dir }}/bin/bridge"
|
||||
mode: "0755"
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p ~/h
|
||||
|
||||
cd /etc/yum.repos.d || exit 1
|
||||
sudo wget https://pkgs.tailscale.com/stable/fedora/tailscale.repo
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
@ -18,9 +16,6 @@ rpm-ostree install \
|
|||
mercurial \
|
||||
mercurial-rust \
|
||||
source-foundry-hack-fonts \
|
||||
mozilla-fira-fonts-common \
|
||||
mozilla-fira-mono-fonts \
|
||||
mozilla-fira-sans-fonts \
|
||||
fastfetch \
|
||||
mutt \
|
||||
msmtp \
|
||||
|
|
|
@ -9,18 +9,18 @@
|
|||
dotfiles_config_dir: "{{ ansible_facts['env']['HOME'] }}/dotfiles/.config"
|
||||
|
||||
tasks:
|
||||
# - name: SHow facts
|
||||
# ansible.builtin.debug:
|
||||
# var: ansible_facts
|
||||
- name: Install Flatpaks from Flathub
|
||||
community.general.flatpak:
|
||||
name:
|
||||
- io.gitlab.librewolf-community
|
||||
- org.gajim.Gajim
|
||||
- org.gajim.Gajim.Plugin.openpgp
|
||||
- org.gtk.Gtk3theme.Breeze
|
||||
- org.telegram.desktop
|
||||
- io.crow_translate.CrowTranslate
|
||||
- im.dino.Dino
|
||||
- org.libreoffice.LibreOffice
|
||||
- im.kaidan.kaidan
|
||||
- im.pidgin.Pidgin
|
||||
- org.kde.gwenview
|
||||
- org.kde.okular
|
||||
|
@ -32,6 +32,32 @@
|
|||
remote: flathub
|
||||
become: true
|
||||
|
||||
- name: Install Flatpaks from Fedora
|
||||
community.general.flatpak:
|
||||
name:
|
||||
- org.mozilla.Thunderbird
|
||||
state: present
|
||||
remote: fedora
|
||||
become: true
|
||||
|
||||
- name: Setup h directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ home_dir }}/h"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Setup sublime-text config directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ config_dir }}/sublime-text"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Setup sublime-merge config directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ config_dir }}/sublime-merge"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Setup bin directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ home_dir }}/bin"
|
||||
|
@ -61,3 +87,39 @@
|
|||
src: "{{ dotfiles_config_dir }}/starship.toml"
|
||||
dest: "{{ config_dir }}/starship.toml"
|
||||
state: link
|
||||
|
||||
- name: Link some magics
|
||||
ansible.builtin.file:
|
||||
src: "{{ home_dir }}/Sync/bin/p-wayland.sh"
|
||||
dest: "{{ home_dir }}/bin/p"
|
||||
state: link
|
||||
|
||||
- name: Install Starship
|
||||
ansible.builtin.copy:
|
||||
src: "{{ home_dir }}/Sync/bin/starship-aarch64"
|
||||
dest: "{{ home_dir }}/bin/starship"
|
||||
mode: "0755"
|
||||
|
||||
- name: Install Protonmail Bridge
|
||||
ansible.builtin.copy:
|
||||
src: "{{ home_dir }}/Sync/bin/bridge-aarch64"
|
||||
dest: "{{ home_dir }}/bin/bridge"
|
||||
mode: "0755"
|
||||
|
||||
- name: Link msmtp config
|
||||
ansible.builtin.file:
|
||||
src: "{{ home_dir }}/Sync/.msmtprc"
|
||||
dest: "{{ home_dir }}/.msmtprc"
|
||||
state: link
|
||||
|
||||
- name: Link mutt config
|
||||
ansible.builtin.file:
|
||||
src: "{{ home_dir }}/Sync/.config/mutt"
|
||||
dest: "{{ config_dir }}/mutt"
|
||||
state: link
|
||||
|
||||
- name: Link mailcap config
|
||||
ansible.builtin.file:
|
||||
src: "{{ home_dir }}/dotfiles/.mailcap"
|
||||
dest: "{{ home_dir }}/.mailcap"
|
||||
state: link
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -z "${DISTROBOX_ENTER_PATH}" ]; then
|
||||
echo
|
||||
echo "Run this in a distrobox container!"
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
ansible-playbook toolbox.yml
|
||||
|
||||
distrobox-export --bin /usr/bin/bash-language-server
|
||||
distrobox-export --bin /usr/bin/rpm_lsp_server
|
||||
distrobox-export --bin /usr/bin/clangd
|
||||
distrobox-export --bin ~/.local/bin/pylsp
|
|
@ -1,60 +0,0 @@
|
|||
---
|
||||
- name: Setup distrobox workspace
|
||||
hosts: 127.0.0.1
|
||||
connection: local
|
||||
vars:
|
||||
home_dir: "{{ ansible_facts['env']['HOME'] }}"
|
||||
config_dir: "{{ ansible_facts['env']['HOME'] }}/.config"
|
||||
host_home_dir: "{{ ansible_facts['env']['DISTROBOX_HOST_HOME'] }}"
|
||||
host_config_dir: "{{ ansible_facts['env']['DISTROBOX_HOST_HOME'] }}/.config"
|
||||
dotfiles_config_dir: "{{ ansible_facts['env']['DISTROBOX_HOST_HOME'] }}/dotfiles/.config"
|
||||
|
||||
tasks:
|
||||
- name: Install user python modules
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- hg-evolve
|
||||
- python-lsp-server
|
||||
extra_args: --user
|
||||
|
||||
- name: Setup bin directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ home_dir }}/bin"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Install Starship
|
||||
ansible.builtin.file:
|
||||
src: "{{ host_home_dir }}/bin/starship"
|
||||
dest: "{{ home_dir }}/bin/starship"
|
||||
state: link
|
||||
|
||||
- name: Setup config directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ config_dir }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Link git config
|
||||
ansible.builtin.file:
|
||||
src: "{{ host_config_dir }}/git"
|
||||
dest: "{{ config_dir }}/git"
|
||||
state: link
|
||||
|
||||
- name: Link mercurial config
|
||||
ansible.builtin.file:
|
||||
src: "{{ host_config_dir }}/hg"
|
||||
dest: "{{ config_dir }}/hg"
|
||||
state: link
|
||||
|
||||
- name: Link nano config
|
||||
ansible.builtin.file:
|
||||
src: "{{ host_config_dir }}/nano"
|
||||
dest: "{{ config_dir }}/nano"
|
||||
state: link
|
||||
|
||||
- name: Link starship config
|
||||
ansible.builtin.file:
|
||||
src: "{{ dotfiles_config_dir }}/starship.toml"
|
||||
dest: "{{ config_dir }}/starship.toml"
|
||||
state: link
|
Loading…
Reference in a new issue