root: add pacman

This commit is contained in:
lelgenio 2021-06-16 03:33:52 -03:00
parent 046b2cc5a6
commit 7692c99253
3 changed files with 75 additions and 2 deletions

View File

@ -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
###############################################################

View File

@ -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:

64
root/pacman.conf Normal file
View File

@ -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