mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Merge pull request #219 from genebean/package-changes-and-britty
ZSH path update, packages, britty
This commit is contained in:
commit
438bb3fc93
2 changed files with 29 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue