mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
finish converting ansible provision to void
This commit is contained in:
parent
9dee18df08
commit
7626d8e4cb
@ -42,6 +42,9 @@ else:
|
||||
#crash
|
||||
0/0
|
||||
|
||||
|
||||
os.system("autorandr --save current --force")
|
||||
|
||||
# ask user to define primary and secondary monitor
|
||||
i3_dict["disp_pri"] = left if left_primary == 'y' else right
|
||||
i3_dict["disp_sec"] = left if left_primary == 'n' else right
|
||||
|
@ -84,6 +84,10 @@ export PATH
|
||||
|
||||
export PATH=/home/tstarr/.nimble/bin:$PATH
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
@ -119,3 +123,6 @@ alias te='trash-empty'
|
||||
alias tl='trash-list'
|
||||
alias tre='trash-restore'
|
||||
alias trm='trash-rm'
|
||||
|
||||
# bitwarden-cli
|
||||
alias bu='export BW_SESSION=$( bw unlock --raw )' # unlock and export bitwarden session
|
||||
|
@ -1,44 +1,13 @@
|
||||
|
||||
- name: Ansible playbook to setup my local machine
|
||||
- name: Ansible playbook to setup void linux
|
||||
hosts: all
|
||||
|
||||
vars_files:
|
||||
- vars/main.yml
|
||||
|
||||
#vars_prompt:
|
||||
# - name: github_token
|
||||
# prompt: "What is your GitHub Token?"
|
||||
# default: "{{ lookup('env','GITHUB_TOKEN') }}"
|
||||
# private: yes
|
||||
|
||||
#pre_tasks:
|
||||
# - name: Ensure setup directory exists
|
||||
# file:
|
||||
# path: "{{ setup_dir }}"
|
||||
# state: directory
|
||||
# mode: 0755
|
||||
# tags: [always]
|
||||
|
||||
#post_tasks:
|
||||
# - name: Remove setup directory
|
||||
# file:
|
||||
# path: "{{ setup_dir }}"
|
||||
# state: absent
|
||||
# become: true
|
||||
# tags: [always]
|
||||
|
||||
#handlers:
|
||||
# - name: restart docker
|
||||
# service:
|
||||
# name: docker
|
||||
# state: restarted
|
||||
# become: true
|
||||
|
||||
tasks:
|
||||
# This import MUST be first
|
||||
- import_tasks: tasks/system/_main.yml
|
||||
- import_tasks: tasks/terminal/_main.yml
|
||||
#- import_tasks: tasks/development/_main.yml
|
||||
- import_tasks: tasks/development/_main.yml
|
||||
- import_tasks: tasks/desktop/_main.yml
|
||||
#- import_tasks: tasks/gaming/_main.yml
|
||||
- import_tasks: tasks/gaming/_main.yml
|
||||
|
||||
|
@ -21,11 +21,6 @@
|
||||
- pavucontrol
|
||||
- polybar
|
||||
- rofi
|
||||
- libdrm-32bit
|
||||
- libgcc-32bit
|
||||
- libstdc++-32bit
|
||||
- mesa-dri-32bit
|
||||
- steam
|
||||
- pcmanfm
|
||||
- xclip
|
||||
- autorandr
|
||||
@ -51,17 +46,6 @@
|
||||
remote_src: true
|
||||
mode: 0755
|
||||
|
||||
#ansible
|
||||
#btrbk
|
||||
#chezmoi
|
||||
#elogind
|
||||
#fd
|
||||
#git
|
||||
#pipewire
|
||||
#python3
|
||||
#ripgrep
|
||||
#rsync
|
||||
#unzip
|
||||
#void-repo-multilib
|
||||
#void-repo-multilib-nonfree
|
||||
#void-repo-nonfree
|
||||
|
@ -1,12 +1,3 @@
|
||||
- name: Add vscodium repo
|
||||
tags: ["once"]
|
||||
yum_repository:
|
||||
name: vscodium
|
||||
description: Free/Libre Open Source Software Binaries of VS Code
|
||||
baseurl: https://download.vscodium.com/rpms/
|
||||
gpgkey: https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg
|
||||
become: true
|
||||
|
||||
- name: Setup nvm
|
||||
tags: ["once"]
|
||||
shell: >
|
||||
@ -18,10 +9,3 @@
|
||||
git:
|
||||
repo: https://github.com/wbthomason/packer.nvim.git
|
||||
dest: /home/{{ user }}/.local/share/nvim/site/pack/packer/start/packer.nvim
|
||||
|
||||
- name: Enable lazygit copr repo
|
||||
tags: ["once"]
|
||||
community.general.copr:
|
||||
name: atim/lazygit
|
||||
state: enabled
|
||||
become: true
|
||||
|
@ -1,14 +1,10 @@
|
||||
- name: Install development dnf packages
|
||||
dnf:
|
||||
xbps:
|
||||
name:
|
||||
- codium # Free/Libre Open Source Software Binaries of VS Code
|
||||
- python3.9 # Version 3.9 of the Python interpreter
|
||||
- python3
|
||||
- python3-pip # A tool for installing and managing Python3 packages
|
||||
- nodejs # JavaScript runtime
|
||||
- npm # Node.js Package Manager
|
||||
- gcc-c++
|
||||
- ripgrep
|
||||
- fd-find
|
||||
- fd
|
||||
- lazygit
|
||||
state: present
|
||||
become: true
|
||||
@ -17,3 +13,10 @@
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- ansible-lint # Command-line tool for linting playbooks, roles and collections
|
||||
|
||||
- name: Install development flatpaks
|
||||
flatpak:
|
||||
name:
|
||||
- com.vscodium.codium # Free/Libre Open Source Software Binaries of VS Code
|
||||
state: present
|
||||
become: true
|
||||
|
@ -1,6 +1,10 @@
|
||||
- name: Install gaming dnf packages
|
||||
dnf:
|
||||
xbps:
|
||||
name:
|
||||
- libdrm-32bit
|
||||
- libgcc-32bit
|
||||
- libstdc++-32bit
|
||||
- mesa-dri-32bit
|
||||
- steam # Launcher for the Steam software distribution service
|
||||
- lutris # Video game preservation platform
|
||||
- gamemode # Optimize system performance for games on demand
|
||||
|
@ -3,14 +3,20 @@
|
||||
name:
|
||||
- git # Fast Version Control System
|
||||
- git-lfs # Git extension for versioning large files
|
||||
#- python-psutil # Cross-platform library for retrieving information on running processes
|
||||
- syncthing # Continuous File Synchronization
|
||||
- flatpak # Application deployment framework for desktop apps
|
||||
#- pipewire-codec-aptx # PipeWire Bluetooth aptX codec plugin
|
||||
#- wireguard # Fast, modern, secure vpn tunnel
|
||||
#- wireguard-tools # Tool for wireguard
|
||||
#- anacron
|
||||
- wireguard # Fast, modern, secure vpn tunnel
|
||||
- wireguard-tools # Tool for wireguard
|
||||
- cronie
|
||||
- pipewire
|
||||
- libspa-bluetooth
|
||||
- cifs-utils
|
||||
- ansible
|
||||
- btrbk
|
||||
- chezmoi
|
||||
- elogind
|
||||
- rsync
|
||||
- unzip
|
||||
state: present
|
||||
become: true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user