summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-03 21:09:25 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-03 21:09:25 +0200
commitfef7a7ef4fa31170ee78dfb774934feb84a88423 (patch)
treee88b5afd2feae6f9755e2ab345e6bca15a567d6a /etc
downloadpostinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.tar.gz
postinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.tar.bz2
postinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.zip
arch postinstall scripts
Diffstat (limited to 'etc')
-rw-r--r--etc/keyd/keyd.conf21
-rw-r--r--etc/pacman.conf101
-rw-r--r--etc/pam.d/system-local-login8
-rw-r--r--etc/updatedb.conf4
4 files changed, 134 insertions, 0 deletions
diff --git a/etc/keyd/keyd.conf b/etc/keyd/keyd.conf
new file mode 100644
index 0000000..24cfbb9
--- /dev/null
+++ b/etc/keyd/keyd.conf
@@ -0,0 +1,21 @@
+
+[ids]
+
+*
+
+[main]
+
+capslock = overload(control, esc)
+
+a = overloadt(shift, a, 200)
+s = overloadt(control, s, 200)
+d = overloadt(alt, d, 200)
+f = overloadt(meta, f, 200)
+j = overloadt(meta, j, 200)
+k = overloadt(alt, k, 200)
+l = overloadt(control, l, 200)
+; = overloadt(shift, ;, 200)
+v = overloadt(altgr, v, 200)
+m = overloadt(altgr, m, 200)
+leftshift = oneshot(shift)
+rightshift = oneshot(shift)
diff --git a/etc/pacman.conf b/etc/pacman.conf
new file mode 100644
index 0000000..96b34f9
--- /dev/null
+++ b/etc/pacman.conf
@@ -0,0 +1,101 @@
+#
+# /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
+Architecture = auto
+
+# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
+#IgnorePkg =
+#IgnoreGroup =
+
+#NoUpgrade =
+#NoExtract =
+
+# Misc options
+#UseSyslog
+Color
+ILoveCandy
+#NoProgressBar
+CheckSpace
+#VerbosePkgLists
+ParallelDownloads = 5
+DownloadUser = alpm
+#DisableSandboxFilesystem
+#DisableSandboxSyscalls
+
+# 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
+#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
diff --git a/etc/pam.d/system-local-login b/etc/pam.d/system-local-login
new file mode 100644
index 0000000..74cba84
--- /dev/null
+++ b/etc/pam.d/system-local-login
@@ -0,0 +1,8 @@
+#%PAM-1.0
+
+auth include system-login
+auth optional pam_gnome_keyring.so
+account include system-login
+password include system-login
+session include system-login
+session optional pam_gnome_keyring.so auto_start
diff --git a/etc/updatedb.conf b/etc/updatedb.conf
new file mode 100644
index 0000000..1e316c8
--- /dev/null
+++ b/etc/updatedb.conf
@@ -0,0 +1,4 @@
+PRUNE_BIND_MOUNTS = "yes"
+PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.s3fs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
+PRUNENAMES = ".git .hg .svn .snapshots"
+PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"