diff --git a/config.yaml b/config.yaml index 231ca8b..089c066 100644 --- a/config.yaml +++ b/config.yaml @@ -195,6 +195,7 @@ dynvariables: pacman -Qi blender | grep "^Version" | cut -d: -f3 | cut -d. -f1-2 || blender --version | head -n1 | sed -E 's|^Blender (.*)\..*|\1|g' root_uuid: blkid /dev/sda2 -s UUID -o value + nproc: nproc ############################################################### diff --git a/root/config.yaml b/root/config.yaml index 64a6463..981fbbd 100644 --- a/root/config.yaml +++ b/root/config.yaml @@ -21,9 +21,11 @@ config: actions: ############################################################### - greetd_install: | - sudo chown -R greeter:greeter /etc/greetd/ + greetd_install: sudo chown -R greeter:greeter /etc/greetd/ grub_install: update-grub + pacman_install: | + pacman-key --init + pacman-key --populate elogind_install: > { sv restart elogind || @@ -54,6 +56,12 @@ dotfiles: actions: - grub_install + pacman: + src: pacman.conf + dst: /etc/pacman.conf + actions: + - pacman_install + ############################################################### profiles: diff --git a/root/pacman.conf b/root/pacman.conf new file mode 100644 index 0000000..7c2e6c8 --- /dev/null +++ b/root/pacman.conf @@ -0,0 +1,64 @@ +# {{@@ header() @@}} +# ____ +# | _ \ __ _ ___ _ __ ___ __ _ _ __ +# | |_) / _` |/ __| '_ ` _ \ / _` | '_ \ +# | __/ (_| | (__| | | | | | (_| | | | | +# |_| \__,_|\___|_| |_| |_|\__,_|_| |_| +# + + +################################################## +[options] +################################################## +HoldPkg = pacman glibc +CleanMethod = KeepInstalled +Architecture = auto +ParallelDownloads = {{@@ nproc | int * 2 @@}} + +UseSyslog +Color +ILoveCandy +VerbosePkgLists + +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional + +################################################## +# Artix +################################################## + +[system] +Include = /etc/pacman.d/mirrorlist +[world] +Include = /etc/pacman.d/mirrorlist +[galaxy] +Include = /etc/pacman.d/mirrorlist +[lib32] +Include = /etc/pacman.d/mirrorlist + +#[gremlins] +#Include = /etc/pacman.d/mirrorlist +#[galaxy-gremlins] +#Include = /etc/pacman.d/mirrorlist +#[lib32-gremlins] +#Include = /etc/pacman.d/mirrorlist + +################################################## +# Arch +################################################## + +[extra] +Include = /etc/pacman.d/mirrorlist-arch +[community] +Include = /etc/pacman.d/mirrorlist-arch +[multilib] +Include = /etc/pacman.d/mirrorlist-arch + +#[testing] +#Include = /etc/pacman.d/mirrorlist-arch +#[community-testing] +#Include = /etc/pacman.d/mirrorlist-arch +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist-arch + +# vim: ft=ini