Merge pull request #219 from genebean/package-changes-and-britty

ZSH path update, packages, britty
This commit is contained in:
Gene Liverman 2022-07-08 22:23:29 -04:00 committed by GitHub
commit 438bb3fc93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 4 deletions

View file

@ -119,7 +119,7 @@
- boinctui
- bundler
- cmake
- code
- code # provided by Pop OS repos
- dconf-editor
- dos2unix
- exa
@ -129,6 +129,7 @@
- gnupg
- google-cloud-cli
- google-cloud-cli-gke-gcloud-auth-plugin
- gthumb
- htop
- httpie
- hub
@ -149,6 +150,7 @@
- scdaemon
- scaleft-client-tools
- scaleft-url-handler
- slack-desktop # provided by Pop OS repos
- snapd
- tailscale
- terraform
@ -226,7 +228,6 @@
community.general.snap:
name:
- cctv-viewer # only available here
- slack # official version
- name: Snaps requiring classic mode
become: true
@ -309,10 +310,28 @@
- name: Add passwordless sudo entries
become: true
jonellis.sudoers.sudoers:
community.general.sudoers:
name: "{{ lookup('env', 'USER') }}-no-password"
user: "{{ lookup('env', 'USER') }}"
nopassword: true
command:
commands:
- /usr/bin/systemctl restart pcscd
- /usr/bin/pkill -9 gpg-agent
- name: Disable britty so ESPHome flashing works
become: true
ansible.builtin.shell:
cmd: |
for f in /usr/lib/udev/rules.d/*brltty*.rules; do
if [ ! -L "/etc/udev/rules.d/$(basename "$f")" ]; then
ln -s /dev/null "/etc/udev/rules.d/$(basename "$f")"
udevadm control --reload-rules
fi
done
- name: Disable brltty service
become: true
ansible.builtin.service:
name: brltty.service
enabled: false
state: stopped

View file

@ -246,6 +246,11 @@ if [[ `uname` == 'Darwin' ]]; then
elif [[ `uname` == 'Linux' ]]; then
PATH="$HOME/.local/bin:$PATH"
# add Pulumi to the PATH
if [ -d "$HOME/.pulumi/bin" ] ; then
PATH=$PATH:$HOME/.pulumi/bin
fi
if [ -d "$HOME/.local/share/gem/ruby/3.0.0/bin" ] ; then
PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH"
fi
@ -263,3 +268,4 @@ fi
# default kube-ps1 to off
kubeoff