#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# Default paths - uncomment and update if you want to change the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/

HoldPkg     = pacman glibc
Architecture = auto

# Package upgrade exclusions
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

# Misc options
CheckSpace            # Ensure there's enough space during installs
ParallelDownloads = 5  # Allows pacman to download up to 5 packages simultaneously
DownloadUser = alpm   # Download user for better permissions handling
ILoveCandy            # Enable pacman’s "candy" feature for a better UI

# Color and progress bar (uncomment if you prefer)
#Color
#NoProgressBar

# Package signature verification
SigLevel    = Required DatabaseOptional  # Ensure all packages are signed
LocalFileSigLevel = Optional              # Allow local files with optional signature verification
#RemoteFileSigLevel = Required           # Uncomment to enforce signature verification for remote files

# Disable sandbox (if necessary for advanced configurations)
#DisableSandbox

# 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.
# Ensure to run `pacman-key --init` before first using pacman.

#
# REPOSITORIES
#   - Repositories are listed in order. Pacman will use the first available repository.
#   - Custom mirrors can be added here or in separate files.
#   - Use `Include` to include a list of mirrors.
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#

# Official Arch repositories
[core-testing]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra-testing]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# Snigdha OS custom repositories
[snigdhaos-core]
Include = /etc/pacman.d/snigdhaos-mirrorlist

[snigdhaos-extra]
Include = /etc/pacman.d/snigdhaos-mirrorlist

# Multilib repositories for 32-bit compatibility on x86_64 systems
[multilib-testing]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# Chaotic AUR repository for additional packages
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist

# Custom repositories (uncomment and configure if needed)
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs