aboutsummaryrefslogtreecommitdiff
path: root/.local/bin-etc-opt-usr/etc
diff options
context:
space:
mode:
authorBlista Kanjo2023-06-21 13:29:04 -0400
committerBlista Kanjo2023-06-21 13:29:11 -0400
commit027e8614a9e6c9fb3bf39bdc26e06903d83d98c1 (patch)
treed00ab200f38f0c24878e788c067d492617fc90d4 /.local/bin-etc-opt-usr/etc
parentc235afcfcba1f6c6501afce2560220e364fcdbdb (diff)
refactor: simulated directory structure in misc (now bin-etc-opt-usr)
Diffstat (limited to '.local/bin-etc-opt-usr/etc')
-rw-r--r--.local/bin-etc-opt-usr/etc/environment17
-rw-r--r--.local/bin-etc-opt-usr/etc/pacman.conf124
-rw-r--r--.local/bin-etc-opt-usr/etc/sysctl.d/50-sysctl.conf3
3 files changed, 144 insertions, 0 deletions
diff --git a/.local/bin-etc-opt-usr/etc/environment b/.local/bin-etc-opt-usr/etc/environment
new file mode 100644
index 0000000..17a60bb
--- /dev/null
+++ b/.local/bin-etc-opt-usr/etc/environment
@@ -0,0 +1,17 @@
+#
+# This file is parsed by pam_env module
+#
+# Syntax: simple "KEY=VAL" pairs on separate lines
+#
+
+# LIBVA_DRIVER_NAME=vdpau
+LIBVA_DRIVER_NAME=nvidia
+QT_AUTO_SCREEN_SCALE_FACTOR=0
+# VDPAU_DRIVER=nvidia
+QT_QPA_PLATFORMTHEME=qt5ct
+GTK_IM_MODULE=ibus
+QT_IM_MODULE=ibus
+XMODIFIERS=@im=ibus
+MOZ_DISABLE_RDD_SANDBOX=1
+MOZ_X11_EGL=1
+NVD_BACKEND=direct
diff --git a/.local/bin-etc-opt-usr/etc/pacman.conf b/.local/bin-etc-opt-usr/etc/pacman.conf
new file mode 100644
index 0000000..8090194
--- /dev/null
+++ b/.local/bin-etc-opt-usr/etc/pacman.conf
@@ -0,0 +1,124 @@
+
+#
+# /etc/pacman.conf
+#
+# See the pacman.conf(5) manpage for option and repository directives
+
+#
+# GENERAL OPTIONS
+#
+[options]
+# The following paths are commented out with their default values listed.
+# If you wish to use different paths, uncomment and update 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
+#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
+#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
+#CleanMethod = KeepInstalled
+#UseDelta = 0.7
+Architecture = auto
+
+IgnorePkg = awesome-git picom-git nvidia-dkms nvidia-utils nvidia-settings pcsx2-git slock picom
+#IgnoreGroup =
+
+#NoUpgrade =
+#NoExtract =
+
+# Misc options
+#UseSyslog
+Color
+#NoProgressBar
+CheckSpace
+#VerbosePkgLists
+ParallelDownloads = 5
+
+# 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
+#SigLevel = Never
+LocalFileSigLevel = Optional
+#RemoteFileSigLevel = Required
+
+# NOTE: You must run `pacman-key --init` before first using pacman; the local
+# keyring can then be populated with the keys of all official Arch Linux
+# packagers with `pacman-key --populate archlinux`.
+
+#
+# REPOSITORIES
+# - can be defined here or included from another file
+# - pacman will search repositories in the order defined here
+# - local/custom mirrors can be added here or in separate files
+# - repositories listed first will take precedence when packages
+# have identical names, regardless of version number
+# - URLs will have $repo replaced by the name of the current repo
+# - URLs will have $arch replaced by the name of the architecture
+#
+# Repository entries are of the format:
+# [repo-name]
+# Server = ServerName
+# Include = IncludePath
+#
+# The header [repo-name] is crucial - it must be present and
+# uncommented to enable the repo.
+#
+
+# The testing repositories are disabled by default. To enable, uncomment the
+# repo name header and Include lines. You can add preferred servers immediately
+# after the header, and they will be used before the default mirrors.
+
+#[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
+
+# If you want to run 32 bit applications on your x86_64 system,
+# enable the multilib repositories as required here.
+
+#[multilib-testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[multilib]
+Include = /etc/pacman.d/mirrorlist
+
+# An example of a custom package repository. See the pacman manpage for
+# tips on creating your own repositories.
+#[custom]
+#SigLevel = Optional TrustAll
+#Server = file:///home/custompkgs
+
+#[revenge_repo]
+#SigLevel = Optional TrustAll
+#Server = https://raw.github.com/obrevenge/revenge_repo/master/x86_64
+#Server = https://downloads.sourceforge.net/project/revenge-repo/revenge_repo/x86_64
+#Server = ftp://ftp.heanet.ie/mirrors/sourceforge/r/re/revenge-repo/revenge_repo/x86_64
+
+#[spooky_aur]
+#SigLevel = Optional TrustAll
+#Server = https://raw.github.com/spookykidmm/spooky_aur/master/x86_64
+
+#[spooky_aur]
+#SigLevel = Optional TrustAll
+#Server = https://raw.github.com/spookykidmm/spooky_aur/master/x86_64
+
+#[home_kjliew_Arch]
+#Server = https://download.opensuse.org/repositories/home:/kjliew/Arch/$arch
+
+[archlinuxcn]
+SigLevel = Never
+Include = /etc/pacman.d/archlinuxcn-mirrorlist
+
+[chaotic-aur]
+SigLevel = Never
+Include = /etc/pacman.d/chaotic-mirrorlist
diff --git a/.local/bin-etc-opt-usr/etc/sysctl.d/50-sysctl.conf b/.local/bin-etc-opt-usr/etc/sysctl.d/50-sysctl.conf
new file mode 100644
index 0000000..2ee6842
--- /dev/null
+++ b/.local/bin-etc-opt-usr/etc/sysctl.d/50-sysctl.conf
@@ -0,0 +1,3 @@
+vm.max_map_count = 2147483642
+vm.swappiness = 10
+vm.vfs_cache_pressure = 50