|
|
@ -107,23 +107,6 @@ Function that takes in a system and configuration file path, checks to see if th |
|
|
|
(make-symbolic-link dot-file sys-file)))) |
|
|
|
#+end_src |
|
|
|
|
|
|
|
** Install system packages |
|
|
|
|
|
|
|
Define a method to install system packages on *Debian/Ubuntu* derived systems. |
|
|
|
|
|
|
|
+ Use temporary buffer |
|
|
|
+ Use ~-y~ option to silence unwanted prompts |
|
|
|
+ Use ~--no-install-recommends~ option to minimize dependencies |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
(defun dotfiles/install (pkgs) |
|
|
|
"Install system packages on Debian/Ubuntu systems." |
|
|
|
;; (with-temp-buffer |
|
|
|
;; (async-shell-command |
|
|
|
;; (concat "sudo apt install -y --no-install-recommends " pkgs))) |
|
|
|
) |
|
|
|
#+end_src |
|
|
|
|
|
|
|
* Resources |
|
|
|
|
|
|
|
[fn:1] https://chrishayward.xyz/posts/immutable-emacs/ |
|
|
|