tangled
alpha
login
or
join now
davidgasquez.com
/
dotfiles
1
fork
atom
🔧 Where my dotfiles lives in harmony and peace, most of the time
1
fork
atom
overview
issues
pulls
pipelines
⚡
davidgasquez.com
1 month ago
ea0423ea
408fb146
+4
-4
1 changed file
expand all
collapse all
unified
split
system
setup.sh
+4
-4
system/setup.sh
···
38
38
39
39
# Network Manager
40
40
if ! systemctl is-enabled --quiet NetworkManager.service; then
41
41
-
systemctl enable --now NetworkManager.service
41
41
+
sudo systemctl enable --now NetworkManager.service
42
42
fi
43
43
44
44
# Firewall
45
45
if ! systemctl is-enabled --quiet ufw; then
46
46
-
systemctl enable --now ufw
46
46
+
sudo systemctl enable --now ufw
47
47
sudo ufw enable
48
48
fi
49
49
50
50
# SSD Trim
51
51
if ! systemctl is-enabled --quiet fstrim.timer; then
52
52
-
systemctl enable --now fstrim.timer
52
52
+
sudo systemctl enable --now fstrim.timer
53
53
fi
54
54
55
55
# Out-of-memory daemon
···
64
64
65
65
# Docker
66
66
if ! systemctl is-enabled --quiet docker.service; then
67
67
-
systemctl enable --now docker
67
67
+
sudo systemctl enable --now docker
68
68
69
69
# Add user to docker group
70
70
if ! groups "$USER" | grep -q "\bdocker\b"; then