mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Initial arch from debian
This commit is contained in:
parent
07ed2c6a84
commit
3af095e2e4
@ -1,4 +1,4 @@
|
|||||||
- name: Ansible playbook to setup Debian
|
- name: Ansible playbook to setup Arch
|
||||||
hosts: all
|
hosts: all
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
@ -3,7 +3,7 @@
|
|||||||
name:
|
name:
|
||||||
- mpv # Video player based on MPlayer/mplayer2
|
- mpv # Video player based on MPlayer/mplayer2
|
||||||
- ffmpeg # Decoding, encoding and streaming software
|
- ffmpeg # Decoding, encoding and streaming software
|
||||||
- firefox # Mozilla Firefox web browser
|
- firefox
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
@ -6,8 +6,7 @@
|
|||||||
- swayidle
|
- swayidle
|
||||||
- grim # screenshot functionality
|
- grim # screenshot functionality
|
||||||
- wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
- wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
||||||
- mako-notifier # notification system developed by swaywm maintainer
|
- mako # notification system developed by swaywm maintainer
|
||||||
- wdisplays # tool to configure displays
|
|
||||||
- feh
|
- feh
|
||||||
- pcmanfm
|
- pcmanfm
|
||||||
- blueman
|
- blueman
|
@ -2,12 +2,11 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- python3 # Python programming language (3.11 series)
|
- python3 # Python programming language (3.11 series)
|
||||||
- python3-pip # A tool for installing and managing Python3 packages
|
- python-pip # A tool for installing and managing Python3 packages
|
||||||
- python3-ipython
|
- ipython
|
||||||
- ripgrep # Fast search tool inspired by ag and grep
|
- ripgrep # Fast search tool inspired by ag and grep
|
||||||
- fd-find # Simple, fast and user-friendly alternative to find
|
- fd # Simple, fast and user-friendly alternative to find
|
||||||
- pipenv # Python Development Workflow for Humans
|
- python-pipenv # Python Development Workflow for Humans
|
||||||
- python3-dev # Python programming language (3.11 series) - development files
|
|
||||||
- cloc
|
- cloc
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
@ -30,6 +29,5 @@
|
|||||||
flatpak:
|
flatpak:
|
||||||
name:
|
name:
|
||||||
- com.vscodium.codium # Free/Libre Open Source Software Binaries of VS Code
|
- com.vscodium.codium # Free/Libre Open Source Software Binaries of VS Code
|
||||||
- com.github.GradienceTeam.Gradience
|
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
@ -1,4 +1,2 @@
|
|||||||
- import_tasks: packages.yml
|
- import_tasks: packages.yml
|
||||||
tags: ["packages"]
|
tags: ["packages"]
|
||||||
- import_tasks: configs.yml
|
|
||||||
tags: ["configs"]
|
|
@ -2,7 +2,7 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- freecad # General purpose 3D CAD modeler
|
- freecad # General purpose 3D CAD modeler
|
||||||
#- gqrx
|
- gqrx
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
@ -8,29 +8,21 @@
|
|||||||
- wireguard-tools # Fast, modern, secure vpn tunnel
|
- wireguard-tools # Fast, modern, secure vpn tunnel
|
||||||
#- pipewire-codec-aptx # PipeWire Bluetooth aptX codec plugin
|
#- pipewire-codec-aptx # PipeWire Bluetooth aptX codec plugin
|
||||||
- ansible # Simple deployment, configuration management and execution framework
|
- ansible # Simple deployment, configuration management and execution framework
|
||||||
- build-essential
|
- base-devel
|
||||||
- pkg-config
|
- qemu
|
||||||
- qemu-system
|
- virt-manager
|
||||||
- libvirt-daemon-system
|
- dnsmasq
|
||||||
|
- iptables
|
||||||
- trash-cli # Command line interface to the freedesktop.org trashcan
|
- trash-cli # Command line interface to the freedesktop.org trashcan
|
||||||
- cargo
|
- cargo
|
||||||
- borgbackup
|
- borgbackup
|
||||||
- fzf
|
- fzf
|
||||||
- unzip
|
- unzip
|
||||||
|
- chezmoi
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Install chezmoi
|
|
||||||
ansible.builtin.shell: |
|
|
||||||
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin # Manage your dotfiles across multiple machines, securely
|
|
||||||
|
|
||||||
- name: Add flatpak remote
|
- name: Add flatpak remote
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Enable Multi-Arch
|
|
||||||
ansible.builtin.shell: |
|
|
||||||
dpkg --add-architecture i386
|
|
||||||
apt update
|
|
||||||
become: true
|
|
@ -2,9 +2,9 @@
|
|||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- neovim # Vim-fork focused on extensibility and agility
|
- neovim # Vim-fork focused on extensibility and agility
|
||||||
- taskwarrior # Command-line TODO list manager
|
- task # Command-line TODO list manager
|
||||||
- timewarrior # Timewarrior tracks and reports time
|
- timew # Timewarrior tracks and reports time
|
||||||
- python3-tasklib # Library for interacting with taskwarrior databases (Python3)
|
- python-tasklib # Library for interacting with taskwarrior databases (Python3)
|
||||||
- vifm # Ncurses-based file manager with vi-like keybindings
|
- vifm # Ncurses-based file manager with vi-like keybindings
|
||||||
- zsh # Z SHell
|
- zsh # Z SHell
|
||||||
- tmux # Terminal Multiplexer
|
- tmux # Terminal Multiplexer
|
@ -1,15 +1,14 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo -e "Starting initial setup for Debian..."
|
echo -e "Starting initial setup for Arch..."
|
||||||
|
|
||||||
CHEZDIR="$HOME/.local/share/chezmoi"
|
CHEZDIR="$HOME/.local/share/chezmoi"
|
||||||
echo "Input email for bitwarden:"
|
echo "Input email for bitwarden:"
|
||||||
read bitemail
|
read bitemail
|
||||||
|
|
||||||
# Install ansible python dependencies
|
# Install ansible python dependencies
|
||||||
sudo apt update -y
|
sudo pacman -Syu
|
||||||
sudo apt install python3 python3-pip ansible cargo -y
|
sudo pacman python3 python3-pip ansible cargo -y
|
||||||
sudo find / -name "EXTERNALLY-MANAGED" -type f -delete
|
|
||||||
pip install pexpect
|
pip install pexpect
|
||||||
cargo install rbw
|
cargo install rbw
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
# Provision Debian
|
# Provision Arch
|
||||||
> \*Installs Debian from behind paywall...\*
|
> \*Yes, I haven't showered in days.\*
|
||||||
|
|
||||||
Jumpstart scripts to install Debian with packages and configs I use.
|
Jumpstart scripts to install Debian with packages and configs I use.
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
- name: Setup nvm
|
|
||||||
tags: ["once"]
|
|
||||||
shell: >
|
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
|
|
||||||
creates=/home/{{ user }}/.nvm/nvm.sh
|
|
@ -1,33 +0,0 @@
|
|||||||
- name: Clone or pull void-packages
|
|
||||||
ansible.builtin.git:
|
|
||||||
repo: 'https://github.com/starr-dusT/void-packages.git'
|
|
||||||
dest: /home/{{ user }}/git/void-packages
|
|
||||||
update: yes
|
|
||||||
register: git_return
|
|
||||||
|
|
||||||
- name: Bootstrap if newly cloned
|
|
||||||
ansible.builtin.command: ./xbps-src binary-bootstrap
|
|
||||||
args:
|
|
||||||
chdir: /home/{{ user }}/git/void-packages
|
|
||||||
when: not git_return.before
|
|
||||||
|
|
||||||
- name: Enable restricted if newly cloned
|
|
||||||
copy:
|
|
||||||
dest: /home/{{ user }}/git/void-packages/etc/conf
|
|
||||||
content: |
|
|
||||||
XBPS_ALLOW_RESTRICTED=yes
|
|
||||||
when: not git_return.before
|
|
||||||
|
|
||||||
- name: Package {{ item.package }} with xbps-src
|
|
||||||
ansible.builtin.command: ./xbps-src pkg {{ item.package }}
|
|
||||||
args:
|
|
||||||
chdir: /home/{{ user }}/git/void-packages
|
|
||||||
|
|
||||||
- name: Install packaged {{ item.package }}
|
|
||||||
expect:
|
|
||||||
command: xbps-install --repository {{ item.repository }} {{ item.package }}
|
|
||||||
responses:
|
|
||||||
continue: y
|
|
||||||
args:
|
|
||||||
chdir: /home/{{ user }}/git/void-packages
|
|
||||||
become: true
|
|
Loading…
x
Reference in New Issue
Block a user