-
Notifications
You must be signed in to change notification settings - Fork 0
/
tumbleweed.sh
executable file
·95 lines (80 loc) · 1.95 KB
/
tumbleweed.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/bin/bash
### add repositories
# Tools for osc
sudo zypper addrepo https://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_Tumbleweed/openSUSE:Tools.repo
# Tools for SUMA
sudo zypper addrepo http://download.opensuse.org/repositories/systemsmanagement:/sumaform/openSUSE_Tumbleweed/systemsmanagement:sumaform.repo
# refresh repositories
sudo zypper ref
### install packages
sudo zypper install \
bat \
docker \
docker-zsh-completions \
emacs \
fira-code-fonts \
fish \
gdb \
glibc-debuginfo \
git \
git-delta \
gnome-keyring \
htop \
keepassxc \
libreoffice \
libreoffice-l10n-de \
libvirt \
lsd \
mc \
mpv \
myspell-de_DE \
neovim \
nodejs \
obs-service-tar \
onefetch \
opi \
podman \
ripgrep \
rlwrap \
rpmlint \
secret-tool \
ShellCheck \
spec-cleaner \
starship \
valgrind \
virt-manager \
yarn \
wezterm \
zoxide \
# packages via OPI
opi vscode
opi vscodium
opi slack
opi google-chrome
# SUMA related packages
sudo zypper install --from systemsmanagement_sumaform terraform terraform-provider-libvirt
### git repositories
git clone https://github.com/so-fancy/diff-so-fancy.git $HOME/.diff-so-fancy
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
### Python packages
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install virtualenv bpytop colour-valgrind pwntools
### Docker
gpasswd -a $USER docker
### libvirt
gpasswd -a $USER libvirtd qemu
systemctl enable libvirtd
systemctl start libvirtd
cat > /etc/polkit-1/rules.d/80-libvirt.rules << EOF
polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.unix.manage" && subject.local && subject.active && subject.isInGroup("libvirt")) {
return polkit.Result.YES;
}
});
EOF
### yarn/npm files
# Font Awesome
yarn add @fortawesome/fontawesome-free
# several gems
gem install rubocop