Fixes after reinstalling Regolith 1.6

This commit is contained in:
Adriano Caloiaro 2021-07-25 10:51:21 -07:00
parent f40338cddc
commit 6154bfd7bb
No known key found for this signature in database
GPG key ID: 890FFDB11860FE1C
5 changed files with 44 additions and 66 deletions

View file

@ -25,9 +25,6 @@
roles:
- {role: regolith/base, tags: base, become: true}
- {role: regolith/user, tags: user}
#- {role: desktop/alacritty, tags: alacritty}
#- {role: desktop/neovim, tags: neovim}
#- {role: desktop/iptables, tags: iptables, become: true}
# post_tasks:
#- name: Add {{ user.name }} to docker group

View file

@ -11,6 +11,7 @@
tags: [packages, desktop, i3packages]
apt:
name:
- fzf
- gimp
- i3lock-fancy
- i3xrocks-battery
@ -22,25 +23,22 @@
- i3xrocks-volume
- i3xrocks-weather
- qutebrowser # This is to get the prereqs
- zsh-syntax-highlighting
state: latest
# }}}
- name: Install zoom client # {{{
tags: [packages, desktop, zoom]
apt:
deb: https://zoom.us/client/latest/zoom_amd64.deb
state: present
# }}}
# Install docker # {{{
- name: Add apt keys for docker
tags: [packages, docker]
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
- name: Add apt repository for docker
tags: [packages, docker]
apt_repository:
repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ docker_engine.ubuntu_release }} stable"
repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ubuntu.release }} stable"
state: present
update_cache: yes
- name: Install docker
tags: [packages, docker]
apt:
@ -67,12 +65,10 @@
force: true
# }}}
- name: Add the user 'adriano' with a 'zsh' shell in whel and davfs groups
- name: Add the user 'adriano' with a 'zsh' shell in wheel and davfs groups
become: true
user:
name: adriano
shell: /bin/bin/zsh
groups: adriano,adm,cdrom,sudo,dip,plugdev,lpadmin,lxd,sambashare,docker,davfs2
groups: adriano,adm,cdrom,sudo,dip,plugdev,lpadmin,sambashare,docker,davfs2
append: yes

View file

@ -1,3 +1,6 @@
ubuntu:
release: bionic
docker_compose:
version: 1.25.4
@ -17,6 +20,7 @@ packages:
- dictd
- dict-gcide
- duplicity
- iputils-ping
- elinks
- fonts-symbola
- git
@ -28,9 +32,15 @@ packages:
- libasound2-dev # di-tui
- libffi-dev # qutebrowser
- libjs-pdf # quteborwser
- libssl-dev # For asdf python plugin/python build
- msmtp
- nextcloud-desktop
- notmuch
- regolith-st
- tmux
- vim-gtk
- xsel
pip_packages:
- tldextract
- pipenv

View file

@ -9,10 +9,16 @@
force: true
# }}}
- name: Install di-tui # {{{
tags: [music]
shell: |
go get -u github.com/acaloiaro/di-tui
- name: Create local bin dir # {{{
tags: [config]
file: path=~/.local/bin state=directory
#}}}
#- name: Install di-tui # {{{
#tags: [music]
#shell: |
# go get -u github.com/acaloiaro/di-tui
#}}}
# Install dotfiles {{{
@ -93,14 +99,10 @@
mode: 0755
state: directory
- name: Install slack client # {{{
tags: [packages, desktop, slack]
apt:
deb: "https://downloads.slack-edge.com/linux_releases/slack-desktop-{{ slack.version }}-amd64.deb"
state: present
# }}}
- name: Install direnv #{{{
tags: [direnv]
become: true
apt:
name: direnv
state: latest
@ -131,7 +133,7 @@
creates: "~/.asdf/plugins/{{item.name}}"
with_items: "{{asdf.plugins}}"
- name: Install versions
- name: Install asdf versions
tags: [asdf, asdf-plugins]
shell: |
. ~/.asdf/asdf.sh
@ -143,6 +145,14 @@
creates: "~/.asdf/installs/{{item.name}}/{{item.version}}"
with_items: "{{asdf.plugins}}"
#}}}
- name: Install pip packages
tags: [pip]
pip:
name: "{{pip_packages}}"
#}}}
#
# {{{ Install neomutt
- name: Install notmuch-mutt
tags: [mutt]
@ -168,6 +178,7 @@
#}}}
- name: Install vlc #{{{
tags: [media]
become: true
apt:
name: vlc
state: latest
@ -191,38 +202,3 @@
tags: [wtf]
file: path=~/.wtf state=directory
#}}}
- name: Create nextcloud directory
tags: [davfs]
file:
path: /home/adriano/nextcloud
state: directory
owner: adriano
group: adriano
mode: 0775
- name: Create davfs2 dir
tags: [davfs]
file:
path: /home/adriano/.davfs2
state: directory
owner: adriano
group: adriano
mode: 0775
- name: Add davfs2 secrets # {{{
tags: [davfs]
copy:
src: dotdavfs2secrets
dest: /home/adriano/.davfs2/secrets
mode: 0600
- name: Mount nextcloud davfs
tags: [davfs]
become: true
mount:
path: /home/adriano/nextcloud
src: https://nextcloud.adriano.fyi/remote.php/dav/files/adriano/
fstype: davfs
opts: user,rw,auto
state: present

View file

@ -1,23 +1,22 @@
asdf:
version: v0.7.8
version: v0.8.1
plugins:
- name: golang
version: 1.14.2
version: 1.16.6
- name: nodejs
version: 10.19.0
- name: ripgrep
version: 12.0.1
- name: ruby
version: 2.7.1
- name: python
version: 3.7.11
aws_vault:
version: 5.4.4
gopass:
version: 1.9.2
slack:
version: 4.10.3
version: 1.12.7
wtf:
version: 0.29.0
version: 0.38.0