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
|
||||
|
||||
vars_files:
|
@ -3,7 +3,7 @@
|
||||
name:
|
||||
- mpv # Video player based on MPlayer/mplayer2
|
||||
- ffmpeg # Decoding, encoding and streaming software
|
||||
- firefox # Mozilla Firefox web browser
|
||||
- firefox
|
||||
state: present
|
||||
become: true
|
||||
|
@ -6,8 +6,7 @@
|
||||
- swayidle
|
||||
- grim # screenshot functionality
|
||||
- wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
||||
- mako-notifier # notification system developed by swaywm maintainer
|
||||
- wdisplays # tool to configure displays
|
||||
- mako # notification system developed by swaywm maintainer
|
||||
- feh
|
||||
- pcmanfm
|
||||
- blueman
|
@ -2,12 +2,11 @@
|
||||
apt:
|
||||
name:
|
||||
- python3 # Python programming language (3.11 series)
|
||||
- python3-pip # A tool for installing and managing Python3 packages
|
||||
- python3-ipython
|
||||
- python-pip # A tool for installing and managing Python3 packages
|
||||
- ipython
|
||||
- ripgrep # Fast search tool inspired by ag and grep
|
||||
- fd-find # Simple, fast and user-friendly alternative to find
|
||||
- pipenv # Python Development Workflow for Humans
|
||||
- python3-dev # Python programming language (3.11 series) - development files
|
||||
- fd # Simple, fast and user-friendly alternative to find
|
||||
- python-pipenv # Python Development Workflow for Humans
|
||||
- cloc
|
||||
state: present
|
||||
become: true
|
||||
@ -30,6 +29,5 @@
|
||||
flatpak:
|
||||
name:
|
||||
- com.vscodium.codium # Free/Libre Open Source Software Binaries of VS Code
|
||||
- com.github.GradienceTeam.Gradience
|
||||
state: present
|
||||
become: true
|
@ -1,4 +1,2 @@
|
||||
- import_tasks: packages.yml
|
||||
tags: ["packages"]
|
||||
- import_tasks: configs.yml
|
||||
tags: ["configs"]
|
@ -2,7 +2,7 @@
|
||||
apt:
|
||||
name:
|
||||
- freecad # General purpose 3D CAD modeler
|
||||
#- gqrx
|
||||
- gqrx
|
||||
state: present
|
||||
become: true
|
||||
|
@ -8,29 +8,21 @@
|
||||
- wireguard-tools # Fast, modern, secure vpn tunnel
|
||||
#- pipewire-codec-aptx # PipeWire Bluetooth aptX codec plugin
|
||||
- ansible # Simple deployment, configuration management and execution framework
|
||||
- build-essential
|
||||
- pkg-config
|
||||
- qemu-system
|
||||
- libvirt-daemon-system
|
||||
- base-devel
|
||||
- qemu
|
||||
- virt-manager
|
||||
- dnsmasq
|
||||
- iptables
|
||||
- trash-cli # Command line interface to the freedesktop.org trashcan
|
||||
- cargo
|
||||
- borgbackup
|
||||
- fzf
|
||||
- unzip
|
||||
- chezmoi
|
||||
state: present
|
||||
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
|
||||
ansible.builtin.shell: |
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
become: true
|
||||
|
||||
- name: Enable Multi-Arch
|
||||
ansible.builtin.shell: |
|
||||
dpkg --add-architecture i386
|
||||
apt update
|
||||
become: true
|
@ -2,9 +2,9 @@
|
||||
apt:
|
||||
name:
|
||||
- neovim # Vim-fork focused on extensibility and agility
|
||||
- taskwarrior # Command-line TODO list manager
|
||||
- timewarrior # Timewarrior tracks and reports time
|
||||
- python3-tasklib # Library for interacting with taskwarrior databases (Python3)
|
||||
- task # Command-line TODO list manager
|
||||
- timew # Timewarrior tracks and reports time
|
||||
- python-tasklib # Library for interacting with taskwarrior databases (Python3)
|
||||
- vifm # Ncurses-based file manager with vi-like keybindings
|
||||
- zsh # Z SHell
|
||||
- tmux # Terminal Multiplexer
|
@ -1,15 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo -e "Starting initial setup for Debian..."
|
||||
echo -e "Starting initial setup for Arch..."
|
||||
|
||||
CHEZDIR="$HOME/.local/share/chezmoi"
|
||||
echo "Input email for bitwarden:"
|
||||
read bitemail
|
||||
|
||||
# Install ansible python dependencies
|
||||
sudo apt update -y
|
||||
sudo apt install python3 python3-pip ansible cargo -y
|
||||
sudo find / -name "EXTERNALLY-MANAGED" -type f -delete
|
||||
sudo pacman -Syu
|
||||
sudo pacman python3 python3-pip ansible cargo -y
|
||||
pip install pexpect
|
||||
cargo install rbw
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Provision Debian
|
||||
> \*Installs Debian from behind paywall...\*
|
||||
# Provision Arch
|
||||
> \*Yes, I haven't showered in days.\*
|
||||
|
||||
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