@@ -51,7 +51,7 @@ def install_packages():
51
51
name = "Installing system packages" ,
52
52
packages = ["linux-lts-headers" , "pacman-contrib" , "base-devel" , "dmidecode" , "dkms" , "amd-ucode" ,
53
53
"linux-firmware" , "lm_sensors" , "curl" , "e2fsprogs" , "exfatprogs" , "iproute2" , "mtr" ,
54
- "lsof" , "smartmontools" , "udisks2" , "dosfstools" ],
54
+ "lsof" , "smartmontools" , "udisks2" , "dosfstools" , "less" ],
55
55
present = True ,
56
56
update = False ,
57
57
_sudo = True ,
@@ -102,6 +102,12 @@ def install_packages():
102
102
103
103
@deploy ("AUR Configuration Support" )
104
104
def preparing_aur_support ():
105
+ server .shell (
106
+ name = "Fixing ownership of the `.local` user folder" ,
107
+ commands = [f"chown { host .get_fact (User )} :{ host .get_fact (User )} /home/{ host .get_fact (User )} /.local -R" ],
108
+ _sudo = True
109
+ )
110
+
105
111
server .shell (
106
112
name = "Installing rust toolchain" ,
107
113
commands = ["rustup default stable" ],
@@ -156,11 +162,6 @@ def service_configuration():
156
162
_sudo = True
157
163
)
158
164
159
- server .shell (
160
- name = "Installing oh-my-zsh" ,
161
- commands = [f"sh -c $(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --unattended" ],
162
- )
163
-
164
165
@deploy ("System service management" )
165
166
def system_services ():
166
167
systemd .service (
@@ -224,12 +225,6 @@ def session_cleanup():
224
225
commands = [f"rm /home/{ host .get_fact (User )} /paru -r" ],
225
226
_sudo = True
226
227
)
227
-
228
- server .shell (
229
- name = "Removing backups from `/`" ,
230
- commands = ["rm *.tgz" ],
231
- _sudo = True
232
- )
233
228
234
229
#
235
230
## Deployment execution tree
0 commit comments