Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dotfiles-and-config/config/mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ btop = { version = "1.4.5", os = ["linux"] }
buf = "1.57.2"
fd = "10.3.0"
github-cli = "2.79.0"
go = "1.25.3"
go = "1.25.5"
go-jsonnet = "0.21.0"
gcloud = "541.0.0"
helm = "3.19.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<property name="last-window-maximized" type="bool" value="true"/>
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_38_PERCENT"/>
<property name="last-separator-position" type="int" value="170"/>
<property name="last-details-view-column-widths" type="string" value="50,136,136,129,1237,50,50,81,1976,295,50,73,50,204"/>
<property name="last-details-view-column-widths" type="string" value="50,136,136,129,1237,50,50,81,1715,295,50,73,50,465"/>
<property name="last-show-hidden" type="bool" value="false"/>
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_DATE_MODIFIED"/>
<property name="last-sort-order" type="string" value="GTK_SORT_DESCENDING"/>
Expand Down
8 changes: 8 additions & 0 deletions dotfiles-and-config/sharedrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export AWS_DEFAULT_REGION='us-east-2'
export DOCKER_BUILDKIT=1
export EDITOR='nano'
export GITHUB_TOKEN="$(gh auth token)"
export MISE_GITHUB_TOKEN="${GITHUB_TOKEN}"
export OSC_INFRA_ROOT="${HOME}/repos/opensourcecorp/osc-infra"

# export VAGRANT_EXPERIMENTAL="disks"
Expand Down Expand Up @@ -123,6 +124,13 @@ kctx() {
fi
}

steam() {
flatpak run \
--user \
--system-talk-name=org.freedesktop.NetworkManager \
com.valvesoftware.Steam
}

### Aliases
alias cfn='aws cloudformation '
alias dsp='docker system prune'
Expand Down
2 changes: 2 additions & 0 deletions system/ansible/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
collections:
- name: "ansible.posix"
- name: "community.docker"
- name: "community.general"
39 changes: 21 additions & 18 deletions system/ansible/tasks/desktop.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# TODO: uncomment these in the future if I want them -- enabling i386 carries the risk of Debian
# Unstable packages for that arch not being updated along with amd64 in a timely fashion, and can
# prevent installing packages like build-essential
# - name: "Check for i386 architecture enablement for Steam"
# become: true
# ansible.builtin.command:
# cmd: "dpkg --print-foreign-architectures" # noqa: no-changed-when
# register: foreign_arch

# - name: "Enable i386 arch if needed"
# become: true
# ansible.builtin.command:
# cmd: "dpkg --add-architecture i386" # noqa: no-changed-when
# when: '"i386" not in foreign_arch.stdout_lines'

- name: "Install available packages for desktop-only software"
become: true
ansible.builtin.apt:
Expand All @@ -22,11 +7,10 @@
- "dolphin-emu-data"
- "dolphin-emu"
- "firefox"
- "flatpak"
- "mupen64plus-*"
- "obs-studio"
# See above comment about i386 arch
# - "steam-devices"
# - "steam-installer"
- "steam-devices"
- "torbrowser-launcher"
- "virt-manager"
- "xfce4"
Expand Down Expand Up @@ -85,6 +69,25 @@
mode: "0755"
state: "directory"

- name: "Add Flathub backend for Flatpak"
become: true
become_user: "{{ user }}"
community.general.flatpak_remote:
name: "flathub"
flatpakrepo_url: "https://dl.flathub.org/repo/flathub.flatpakrepo"
method: "user"
state: "present"

- name: "Install Steam"
become: true
become_user: "{{ user }}"
community.general.flatpak:
name:
- "com.valvesoftware.Steam"
remote: "flathub"
method: "user"
state: "latest"

# ERTM is a feature that, among other things, prevents XBox controllers from
# pairing over BT lol. So, disable it.
- name: "Change bluetooth settings for XBox controllers"
Expand Down