diff --git a/config/common.yml b/config/common.yml index bee90a10..f5b4377f 100644 --- a/config/common.yml +++ b/config/common.yml @@ -10,6 +10,9 @@ modules: - from-file: module_config/packages.yml - from-file: module_config/bling.yml - from-file: module_config/yafti.yml + - type: script + scripts: + - starship.sh # - type: signing - from-file: module_config/systemd.yml diff --git a/config/module_config/packages.yml b/config/module_config/packages.yml index a57a38cc..410e8ee8 100644 --- a/config/module_config/packages.yml +++ b/config/module_config/packages.yml @@ -3,6 +3,15 @@ repos: # - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo - https://repository.mullvad.net/rpm/stable/mullvad.repo install: + # for brew + - gcc + - make + - mesa-libGLU + - podman-compose + - podman-plugins + - podman-tui + - podmansh + # hyprland packages - hyprland - xdg-desktop-portal-hyprland - waybar diff --git a/config/scripts/starship.sh b/config/scripts/starship.sh new file mode 100755 index 00000000..c81e4e5e --- /dev/null +++ b/config/scripts/starship.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +curl -Lo /tmp/starship.tar.gz "https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-gnu.tar.gz" +tar -xzf /tmp/starship.tar.gz -C /tmp +install -c -m 0755 /tmp/starship /usr/bin +echo 'if status is-interactive; starship init fish | source; end' >> /etc/fish/config.fish