sudo apt update

sudo apt install curl -y
sudo apt install nfs-common -y
sudo apt install fzf -y
sudo apt install snapd -y

sudo apt install btop -y
sudo apt-get install fuse libfuse2 -y
sudo apt install blueman -y

# Add Hibernation file
sudo cp ./hibernation.pkla /etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.pkla

#Flatpak
sudo apt install flatpak -y
sudo apt install gnome-software-plugin-flatpak -y
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

# 1Password
sudo sh -c 'echo "deb [arch=amd64] https://downloads.1password.com/linux/debian/amd64/ stable main" > /etc/apt/sources.list.d/1password.list'
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 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 -y

sudo apt install flatseal -y
sudo apt install yubioath-desktop -y

flatpak install flathub net.nokyan.Resources -y

# Codecs
sudo apt install ubuntu-restricted-extras -y
# Browsers
# flatpak install flathub com.google.Chrome -y
# flatpak install flathub org.waterfoxproject.waterfox -y
# sudo apt install chromium-browser -y

# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# sudo dpkg -i google-chrome-stable_current_amd64.deb
# sudo apt install -f -y
# rm google-chrome-stable_current_amd64.deb

# Video
sudo apt install djv -y
sudo apt install vlc -y
sudo apt install python3-vlc -y

# sudo reboot now
# sudo apt install flatpak -y
# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
