]> git.armaanb.net Git - bin.git/blob - system-setup
update system-setup
[bin.git] / system-setup
1 #!/usr/bin/env bash
2 cmd_update="sudo apt update && sudo apt upgrade -y"
3 cmd_install="sudo apt install -y"
4 cmd_autoremove="sudo apt autopurge"
5
6 sudo echo "# Unstable sources
7   deb http://deb.debian.org/debian/ sid main contrib non-free
8   deb-src http://deb.debian.org/debian/ sid main contrib non-free
9   deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list
10
11 ${cmd_update}
12 ${cmd_autoremove}
13
14 # This method doesn't abort the whole apt command if something is missing from the repositories
15 for i in \
16   firefox \
17   flatpak \
18   quassel-client \
19   virtualbox \
20   htop \
21   bleachbit \
22   timeshift \
23   flatpak \
24   bat \
25   exa \
26   zsh \
27   git \
28   gnupg \
29   pinentry-curses \
30   taskwarrior \
31   fzf \
32   yadm \
33   chromium \
34   zathura \
35   bpytop \
36   xcape \
37   docker \
38   ufw \
39   syncthing \
40   synaptic \
41   virtualbox-ext-pack \
42   qutebrowser \
43   cargo \
44   build-essential \
45   flameshot \
46   ffmpeg \
47   python3-pip \
48   mpv \
49   youtube-dl \
50   python3-jedi \
51   libnotify-bin \
52   chromium \
53   lolcat \
54   figlet \
55   wget \
56   curl \
57   yadm \
58   cmatrix \
59   apt-file \
60   breeze-cursor-theme \
61   python-is-python3 \
62   python-dev-is-python3 \
63   deborphan \
64   ncdu \
65   gnat \
66   imagemagick \
67   mlocate \
68   netcat \
69   network-manager-openvpn \
70   unar \
71   pandoc \
72   alsa-utils \
73   rofi \
74   zathura-pdf-poppler \
75   yarn \
76   wireshark-qt \
77   vim \
78   aspell \
79   aspell-en; \
80 do
81   ${cmd_install} $i
82 done
83
84 flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
85 flatpak install -y \
86   org.fedoraproject.MediaWriter \
87   com.spotify.Client \
88   com.discordapp.Discord \
89   com.tutanota.Tutanota \
90   org.inkscape.Inkscape \
91   org.kde.kdenlive \
92   org.glimpse_editor.Glimpse \
93   org.gtk.Gtk3theme.Breeze-Dark \
94   org.audacityteam.Audacity \
95   org.libreoffice.LibreOffice
96
97 cargo install \
98   alacritty \
99   cargo-update
100
101 yadm clone git@codeberg.org:armaan/dotfiles
102 mkdir {~/Code,~/Clone,~/Public,~/VMs,~/Temp}