diff --git a/dotfiles-and-config/config/mise/config.toml b/dotfiles-and-config/config/mise/config.toml index 2025089..99b3ee9 100644 --- a/dotfiles-and-config/config/mise/config.toml +++ b/dotfiles-and-config/config/mise/config.toml @@ -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" diff --git a/dotfiles-and-config/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/dotfiles-and-config/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index 761f990..09052ac 100644 --- a/dotfiles-and-config/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/dotfiles-and-config/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -6,7 +6,7 @@ - + diff --git a/dotfiles-and-config/sharedrc b/dotfiles-and-config/sharedrc index 90e30cd..0531625 100644 --- a/dotfiles-and-config/sharedrc +++ b/dotfiles-and-config/sharedrc @@ -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" @@ -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' diff --git a/system/ansible/requirements.yaml b/system/ansible/requirements.yaml index 3674011..70b36cc 100644 --- a/system/ansible/requirements.yaml +++ b/system/ansible/requirements.yaml @@ -1,3 +1,5 @@ --- collections: - name: "ansible.posix" + - name: "community.docker" + - name: "community.general" diff --git a/system/ansible/tasks/desktop.yaml b/system/ansible/tasks/desktop.yaml index 7ec2d4c..b8c4f6a 100644 --- a/system/ansible/tasks/desktop.yaml +++ b/system/ansible/tasks/desktop.yaml @@ -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: @@ -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" @@ -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"