From f0686d2869c1971543e4e39a946c49e267f95706 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 20 Feb 2024 00:47:34 +0100 Subject: [PATCH] colorfull pacman --- config.org | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 6e9a2b9..e740010 100644 --- a/config.org +++ b/config.org @@ -330,7 +330,60 @@ after installation add yay to the packages list to ensure it doesn't delete itse #+begin_src conf :tangle pkg-list.txt yay #+end_src -*** Package Installation + +*** Config +**** Literate File Header +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +# DO NOT EDIT THIS FILE DIRECTLY +# This is a file generated from a literate programing source file +# You should make any changes there and regenerate it from Emacs org-mode +# using org-babel-tangle (C-c C-v t) + +#+end_src +**** Options +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +[options] +#+end_src +***** HoldPkg +Packages that should not be updated for compatibility reasons +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +HoldPkg = pacman glibc +#+end_src +***** Automatic Archtiecture Detection +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +Architecture = auto +#+end_src +***** Check Space before Operation +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +CheckSpace +#+end_src +***** Colorful Output +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +Color +#+end_src +***** Enable Parallel Downloads +Increase the download speed by enabling parallel downloads +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +ParallelDownloads = 5 +#+end_src +***** Accepted Packages +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional +#+end_src +**** Core Packages +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +[core] +Include = /etc/pacman.d/mirrorlist +#+end_src +**** Extra Packages +#+begin_src conf :tangle "/sudo::/etc/pacman.conf" +[extra] +Include = /etc/pacman.d/mirrorlist +#+end_src +** Package Installation remove all packages not in ~pkg-list.txt~ #+begin_src shell :tangle update.sh # Get list of installed packages