summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup12
1 files changed, 12 insertions, 0 deletions
diff --git a/archsetup b/archsetup
index ab9478c..260afdb 100755
--- a/archsetup
+++ b/archsetup
@@ -1149,6 +1149,12 @@ EOF
action="enabling the batch delayed command scheduler" && display "task" "$action"
systemctl enable atd >> "$logfile" 2>&1 || error_warn "$action" "$?"
+ action="installing log cleanup cron job" && display "task" "$action"
+ (sudo -u "$username" crontab -l 2>/dev/null; \
+ echo "0 12 * * * \$HOME/.local/bin/cron/log-cleanup") \
+ | sudo -u "$username" crontab - \
+ >> "$logfile" 2>&1 || error_warn "$action" "$?"
+
# Package Repository Cache Maintenance
display "subtitle" "Package Repository Cache Maintenance"
@@ -1763,6 +1769,12 @@ developer_workstation() {
action="Developer Workstation" && display "title" "$action"
action="Programming Languages and Utilities" && display "subtitle" "$action"
+ # Rust (via rustup — must precede AUR packages that compile with rust)
+ pacman_install rustup # Rust toolchain manager
+ action="setting default rust toolchain to stable" && display "task" "$action"
+ (sudo -u "$username" rustup default stable >> "$logfile" 2>&1) || \
+ error_warn "$action" "$?"
+
# C
pacman_install clang # C/C++ compiler
pacman_install cmake # make system