Last active
April 28, 2024 19:52
-
-
Save rodrigondec/00a849f7cac158b8a18d57919588324d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoinstall: | |
version: 1 | |
packages: | |
- ubuntu-desktop | |
- tree | |
- wget | |
- curl | |
- gnupg | |
- ca-certificates | |
- lsb-release | |
- podman | |
- git | |
- make | |
- tilix | |
- nemo | |
- firefox | |
- nano | |
snaps: | |
- name: telegram-desktop | |
classic: false | |
interactive-sections: | |
- storage | |
- identity | |
storage: | |
layout: | |
name: direct | |
identity: | |
realname: 'Ubuntu User' | |
username: ubuntu | |
password: '$6$wdAcoXrU039hKYPd$508Qvbe7ObUnxoj15DRCkzC3qO7edjH0VV7BPNRDYK4QR8ofJaEEF2heacn0QgD.f8pO8SNp83XNdWG6tocBM1' | |
hostname: ubuntu | |
timezone: America/Recife | |
locale: en_US.UTF-8 | |
keyboard: | |
layout: br | |
source: | |
search_drivers: true | |
codecs: | |
install: true | |
drivers: | |
install: true | |
late-commands: | |
- curtin in-target -- apt-get autoremove -y | |
- | | |
curtin in-target -- wget -q https://gist.githubusercontent.com/rodrigondec/00a849f7cac158b8a18d57919588324d/raw/fcfe5f047f7f2362d0fd41617d201a483041a5ed/dev.sh | |
curtin in-target -- sh dev.sh | |
curtin in-target -- rm dev.sh | |
error-commands: | |
- tail -200 /var/log/syslog | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i ./google-chrome-stable_current_amd64.deb | |
rm google-chrome-stable_current_amd64.deb | |
wget -q https://downloads.slack-edge.com/desktop-releases/linux/x64/4.37.101/slack-desktop-4.37.101-amd64.deb | |
sudo dpkg -i ./slack-desktop-4.37.101-amd64.deb | |
rm slack-desktop-4.37.101-amd64.deb | |
wget -q https://release.axocdn.com/linux/gitkraken-amd64.deb | |
sudo dpkg -i ./gitkraken-amd64.deb | |
rm gitkraken-amd64.deb | |
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | sudo gpg --dearmor --yes -o /usr/share/keyrings/vscodium-archive-keyring.gpg | |
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh ./get-docker.sh | |
rm get-docker.sh | |
curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg | |
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list | |
sudo apt update | |
sudo apt install spotify-client codium | |
# wget -q https://www.python.org/ftp/python/3.9.19/Python-3.9.19.tgz | |
# sudo apt install -y make build-essential libssl-dev zlib1g-dev \ | |
# libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \ | |
# libncurses5-dev libncursesw5-dev xz-utils tk-dev | |
# tar xvf Python-3.9.19.tgz | |
# cd Python-3.9.19 | |
# ./configure --enable-optimizations --with-ensurepip=install | |
# make -j 8 | |
# sudo make altinstall | |
# cd .. | |
# sudo rm -rf Python-3.9.19 | |
# rm Python-3.9.19.tgz | |
# curl -1sLf 'https://packages.konghq.com/public/insomnia/setup.deb.sh' | sudo -E distro=ubuntu codename=noble bash | |
# apt update | |
# apt install insomnia | |
# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | |
# sudo sed -i'.backup' -e 's/,"WebRTCPipeWireCapturer"/,"LebRTCPipeWireCapturer"/' /usr/lib/slack/resources/app.asar | |
# sudo sed -i -e 's#Exec=/usr/bin/slack %U#Exec=/usr/bin/slack\ %U\ --enable-features=WebRTCPipeWireCapturer#' /usr/share/applications/slack.desktop | |
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search | |
gsettings set org.gnome.shell.extensions.ding use-nemo true | |
gsettings set org.gnome.shell.extensions.ding show-home true | |
gsettings set org.cinnamon.desktop.default-applications.terminal exec tilix | |
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/$(dpkg --print-architecture) stable main" | sudo tee /etc/apt/sources.list.d/1password.list | |
sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/ | |
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol | |
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22 | |
curl -sS https://downloads.1password.com/linux/keys/1password.asc | sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg | |
sudo apt update && sudo apt install 1password-cli 1password | |
curl -sSL https://install.python-poetry.org | python3.9 - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment