mirror of
https://github.com/Snigdha-OS/snigdhaos-archiso.git
synced 2025-09-05 12:16:40 +02:00
🧹 chore: remove all the files
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
# Configuration file for NetworkManager.
|
|
||||||
# See "man 5 NetworkManager.conf" for details.
|
|
||||||
|
|
||||||
[device]
|
|
||||||
wifi.scan-rand-mac-address=no
|
|
@@ -1,63 +0,0 @@
|
|||||||
# GRUB boot loader configuration
|
|
||||||
|
|
||||||
GRUB_DEFAULT=0
|
|
||||||
GRUB_TIMEOUT=5
|
|
||||||
GRUB_DISTRIBUTOR="Snigdha"
|
|
||||||
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
|
|
||||||
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=btrfs"
|
|
||||||
|
|
||||||
# Preload both GPT and MBR modules so that they are not missed
|
|
||||||
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
|
|
||||||
|
|
||||||
# Uncomment to enable booting from LUKS encrypted devices
|
|
||||||
#GRUB_ENABLE_CRYPTODISK=y
|
|
||||||
|
|
||||||
# Set to 'countdown' or 'hidden' to change timeout behavior,
|
|
||||||
# press ESC key to display menu.
|
|
||||||
GRUB_TIMEOUT_STYLE=menu
|
|
||||||
|
|
||||||
# Uncomment to use basic console
|
|
||||||
GRUB_TERMINAL_INPUT=console
|
|
||||||
|
|
||||||
# Uncomment to disable graphical terminal
|
|
||||||
#GRUB_TERMINAL_OUTPUT=console
|
|
||||||
|
|
||||||
# The resolution used on graphical terminal
|
|
||||||
# note that you can use only modes which your graphic card supports via VBE
|
|
||||||
# you can see them in real GRUB with the command `videoinfo'
|
|
||||||
GRUB_GFXMODE=auto
|
|
||||||
|
|
||||||
# Uncomment to allow the kernel use the same resolution used by grub
|
|
||||||
GRUB_GFXPAYLOAD_LINUX=keep
|
|
||||||
|
|
||||||
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
|
|
||||||
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
|
|
||||||
#GRUB_DISABLE_LINUX_UUID=true
|
|
||||||
|
|
||||||
# Uncomment to disable generation of recovery mode menu entries
|
|
||||||
GRUB_DISABLE_RECOVERY=true
|
|
||||||
|
|
||||||
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
|
||||||
# modes only. Entries specified as foreground/background.
|
|
||||||
#GRUB_COLOR_NORMAL="light-blue/black"
|
|
||||||
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
|
||||||
|
|
||||||
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
|
|
||||||
#GRUB_BACKGROUND="/path/to/wallpaper"
|
|
||||||
GRUB_THEME="/usr/share/grub/themes/snigdhaos-grub-theme/theme.txt"
|
|
||||||
|
|
||||||
# Uncomment to get a beep at GRUB start
|
|
||||||
#GRUB_INIT_TUNE="480 440 1"
|
|
||||||
|
|
||||||
# Uncomment to make GRUB remember the last selection. This requires
|
|
||||||
# setting 'GRUB_DEFAULT=saved' above.
|
|
||||||
#GRUB_SAVEDEFAULT=true
|
|
||||||
|
|
||||||
# Uncomment to disable submenus in boot menu
|
|
||||||
#GRUB_DISABLE_SUBMENU=y
|
|
||||||
|
|
||||||
# Probing for other operating systems is disabled for security reasons. Read
|
|
||||||
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
|
|
||||||
# functionality install os-prober and uncomment to detect and include other
|
|
||||||
# operating systems.
|
|
||||||
#GRUB_DISABLE_OS_PROBER=false
|
|
@@ -1,3 +0,0 @@
|
|||||||
ISO_RELEASE=v24.05.01
|
|
||||||
ISO_CODENAME=SnigdhaOS-LTS
|
|
||||||
ISO_BUILD=
|
|
@@ -1,4 +0,0 @@
|
|||||||
QT_QPA_PLATFORMTHEME=qt5ct
|
|
||||||
QT_STYLE_OVERRIDE=kvantum
|
|
||||||
EDITOR=nano
|
|
||||||
BROWSER=brave
|
|
@@ -1,16 +0,0 @@
|
|||||||
root:x:0:root
|
|
||||||
sys:x:3:bin,snigdha
|
|
||||||
network:x:90:snigdha
|
|
||||||
power:x:98:snigdha
|
|
||||||
adm:x:999:snigdha
|
|
||||||
wheel:x:998:snigdha
|
|
||||||
uucp:x:987:snigdha
|
|
||||||
optical:x:990:snigdha
|
|
||||||
rfkill:x:983:snigdha
|
|
||||||
video:x:986:snigdha
|
|
||||||
storage:x:988:snigdha
|
|
||||||
audio:x:995:snigdha
|
|
||||||
users:x:985:snigdha
|
|
||||||
nopasswdlogin:x:966:snigdha
|
|
||||||
autologin:x:967:snigdha
|
|
||||||
snigdha:x:1000:
|
|
@@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
exec tail -n +3 $0
|
|
||||||
# This file provides an easy way to add custom menu entries. Simply type the
|
|
||||||
# menu entries you want to add after this comment. Be careful not to change
|
|
||||||
# the 'exec tail' line above.
|
|
||||||
|
|
||||||
menuentry "Restart" --class restart {
|
|
||||||
echo "System rebooting..."
|
|
||||||
reboot
|
|
||||||
}
|
|
||||||
|
|
||||||
menuentry "Shutdown" --class shutdown {
|
|
||||||
echo "System shutting down..."
|
|
||||||
halt
|
|
||||||
}
|
|
@@ -1,16 +0,0 @@
|
|||||||
root:::root
|
|
||||||
sys:!!::snigdha
|
|
||||||
network:!!::snigdha
|
|
||||||
power:!!::snigdha
|
|
||||||
adm:!!::snigdha
|
|
||||||
wheel:!!::snigdha
|
|
||||||
uucp:!!::snigdha
|
|
||||||
optical:!!::snigdha
|
|
||||||
rfkill:!!::snigdha
|
|
||||||
video:!!::snigdha
|
|
||||||
storage:!!::snigdha
|
|
||||||
audio:!!::snigdha
|
|
||||||
users:!!::snigdha
|
|
||||||
nopasswdlogin:!::snigdha
|
|
||||||
autologin:!::snigdha
|
|
||||||
snigdha:!::
|
|
@@ -1 +0,0 @@
|
|||||||
snigdhaos
|
|
@@ -1,74 +0,0 @@
|
|||||||
# LightDM GTK Configuration
|
|
||||||
# Available configuration options listed below.
|
|
||||||
# Please list the configuration options that you want to use after [greeter] without the # for example:
|
|
||||||
# [greeter]
|
|
||||||
# example-option=example-value
|
|
||||||
#
|
|
||||||
# Appearance:
|
|
||||||
# theme-name = GTK theme to use
|
|
||||||
# icon-theme-name = Icon theme to use
|
|
||||||
# cursor-theme-name = Cursor theme to use
|
|
||||||
# cursor-theme-size = Cursor size to use
|
|
||||||
# background = Background file to use, either an image path or a color (e.g. #772953)
|
|
||||||
# user-background = false|true ("true" by default) Display user background (if available)
|
|
||||||
# transition-duration = Length of time (in milliseconds) to transition between background images ("500" by default)
|
|
||||||
# transition-type = ease-in-out|linear|none ("ease-in-out" by default)
|
|
||||||
#
|
|
||||||
# Fonts:
|
|
||||||
# font-name = Font to use
|
|
||||||
# xft-antialias = false|true Whether to antialias Xft fonts
|
|
||||||
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
|
|
||||||
# xft-hintstyle = none|slight|medium|hintfull What degree of hinting to use
|
|
||||||
# xft-rgba = none|rgb|bgr|vrgb|vbgr Type of subpixel antialiasing
|
|
||||||
#
|
|
||||||
# Login window:
|
|
||||||
# active-monitor = Monitor to display greeter window (name or number). Use #cursor value to display greeter at monitor with cursor. Can be a semicolon separated list
|
|
||||||
# position = x y ("50% 50%" by default) Login window position
|
|
||||||
# default-user-image = Image used as default user icon, path or #icon-name
|
|
||||||
# hide-user-image = false|true ("false" by default)
|
|
||||||
# round-user-image = false|true ("true" by default)
|
|
||||||
# highlight-logged-user = false|true ("true" by default)
|
|
||||||
#
|
|
||||||
# Panel:
|
|
||||||
# panel-position = top|bottom ("top" by default)
|
|
||||||
# clock-format = strftime-format string, e.g. %H:%M
|
|
||||||
# indicators = semi-colon ";" separated list of allowed indicator modules. Built-in indicators include "~a11y", "~language", "~session", "~power", "~clock", "~host", "~spacer", "~layout". Unity indicators can be represented by short name (e.g. "sound", "power"), service file name, or absolute path
|
|
||||||
# keyboard-layouts = semi-colon ";" separated list keyboard layouts to be listed by the "~layout" indicator (empty by default which provides all available layouts)
|
|
||||||
#
|
|
||||||
# Accessibility:
|
|
||||||
# a11y-states = states of accessibility features: "name" - save state on exit, "-name" - disabled at start (default value for unlisted), "+name" - enabled at start. Allowed names: contrast, font, keyboard, reader.
|
|
||||||
# keyboard = command to launch on-screen keyboard (e.g. "onboard")
|
|
||||||
# keyboard-position = x y[;width height] ("50%,center -0;50% 25%" by default) Works only for "onboard"
|
|
||||||
# reader = command to launch screen reader (e.g. "orca")
|
|
||||||
# at-spi-enabled = false|true ("true" by default) Enables accessibility at-spi-command if the greeter is built with it enabled
|
|
||||||
#
|
|
||||||
# Security:
|
|
||||||
# allow-debugging = false|true ("false" by default)
|
|
||||||
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
|
|
||||||
#
|
|
||||||
# Session:
|
|
||||||
# default-session = session manager to be started when none has been selected by the user and no one is set as last used (unset by default)
|
|
||||||
#
|
|
||||||
# Template for per-monitor configuration:
|
|
||||||
# [monitor: name]
|
|
||||||
# background = overrides default value
|
|
||||||
# user-background = overrides default value
|
|
||||||
# laptop = false|true ("false" by default) Marks monitor as laptop display
|
|
||||||
# transition-duration = overrides default value
|
|
||||||
#
|
|
||||||
[greeter]
|
|
||||||
#background=
|
|
||||||
#user-background=
|
|
||||||
#theme-name=
|
|
||||||
#icon-theme-name=
|
|
||||||
#font-name=
|
|
||||||
#xft-antialias=
|
|
||||||
#xft-dpi=
|
|
||||||
#xft-hintstyle=
|
|
||||||
#xft-rgba=
|
|
||||||
#indicators=
|
|
||||||
#clock-format=
|
|
||||||
#keyboard=
|
|
||||||
#reader=
|
|
||||||
#position=
|
|
||||||
#screensaver-timeout=
|
|
@@ -1,163 +0,0 @@
|
|||||||
#
|
|
||||||
# General configuration
|
|
||||||
#
|
|
||||||
# start-default-seat = True to always start one seat if none are defined in the configuration
|
|
||||||
# greeter-user = User to run greeter as
|
|
||||||
# minimum-display-number = Minimum display number to use for X servers
|
|
||||||
# minimum-vt = First VT to run displays on
|
|
||||||
# lock-memory = True to prevent memory from being paged to disk
|
|
||||||
# user-authority-in-system-dir = True if session authority should be in the system location
|
|
||||||
# guest-account-script = Script to be run to setup guest account
|
|
||||||
# logind-check-graphical = True to on start seats that are marked as graphical by logind
|
|
||||||
# log-directory = Directory to log information to
|
|
||||||
# run-directory = Directory to put running state in
|
|
||||||
# cache-directory = Directory to cache to
|
|
||||||
# sessions-directory = Directory to find sessions
|
|
||||||
# remote-sessions-directory = Directory to find remote sessions
|
|
||||||
# greeters-directory = Directory to find greeters
|
|
||||||
# backup-logs = True to move add a .old suffix to old log files when opening new ones
|
|
||||||
# dbus-service = True if LightDM provides a D-Bus service to control it
|
|
||||||
#
|
|
||||||
[LightDM]
|
|
||||||
#start-default-seat=true
|
|
||||||
#greeter-user=lightdm
|
|
||||||
#minimum-display-number=0
|
|
||||||
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
|
|
||||||
#lock-memory=true
|
|
||||||
#user-authority-in-system-dir=false
|
|
||||||
#guest-account-script=guest-account
|
|
||||||
#logind-check-graphical=true
|
|
||||||
#log-directory=/var/log/lightdm
|
|
||||||
run-directory=/run/lightdm
|
|
||||||
#cache-directory=/var/cache/lightdm
|
|
||||||
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
|
|
||||||
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
|
|
||||||
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
|
|
||||||
#backup-logs=true
|
|
||||||
#dbus-service=true
|
|
||||||
|
|
||||||
#
|
|
||||||
# Seat configuration
|
|
||||||
#
|
|
||||||
# Seat configuration is matched against the seat name glob in the section, for example:
|
|
||||||
# [Seat:*] matches all seats and is applied first.
|
|
||||||
# [Seat:seat0] matches the seat named "seat0".
|
|
||||||
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
|
|
||||||
#
|
|
||||||
# type = Seat type (local, xremote)
|
|
||||||
# pam-service = PAM service to use for login
|
|
||||||
# pam-autologin-service = PAM service to use for autologin
|
|
||||||
# pam-greeter-service = PAM service to use for greeters
|
|
||||||
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
|
|
||||||
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
|
|
||||||
# xserver-config = Config file to pass to X server
|
|
||||||
# xserver-layout = Layout to pass to X server
|
|
||||||
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
|
|
||||||
# xserver-share = True if the X server is shared for both greeter and session
|
|
||||||
# xserver-hostname = Hostname of X server (only for type=xremote)
|
|
||||||
# xserver-display-number = Display number of X server (only for type=xremote)
|
|
||||||
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
|
|
||||||
# xdmcp-port = XDMCP UDP/IP port to communicate on
|
|
||||||
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
|
|
||||||
# greeter-session = Session to load for greeter
|
|
||||||
# greeter-hide-users = True to hide the user list
|
|
||||||
# greeter-allow-guest = True if the greeter should show a guest login option
|
|
||||||
# greeter-show-manual-login = True if the greeter should offer a manual login option
|
|
||||||
# greeter-show-remote-login = True if the greeter should offer a remote login option
|
|
||||||
# user-session = Session to load for users
|
|
||||||
# allow-user-switching = True if allowed to switch users
|
|
||||||
# allow-guest = True if guest login is allowed
|
|
||||||
# guest-session = Session to load for guests (overrides user-session)
|
|
||||||
# session-wrapper = Wrapper script to run session with
|
|
||||||
# greeter-wrapper = Wrapper script to run greeter with
|
|
||||||
# guest-wrapper = Wrapper script to run guest sessions with
|
|
||||||
# display-setup-script = Script to run when starting a greeter session (runs as root)
|
|
||||||
# display-stopped-script = Script to run after stopping the display server (runs as root)
|
|
||||||
# greeter-setup-script = Script to run when starting a greeter (runs as root)
|
|
||||||
# session-setup-script = Script to run when starting a user session (runs as root)
|
|
||||||
# session-cleanup-script = Script to run when quitting a user session (runs as root)
|
|
||||||
# autologin-guest = True to log in as guest by default
|
|
||||||
# autologin-user = User to log in with by default (overrides autologin-guest)
|
|
||||||
# autologin-user-timeout = Number of seconds to wait before loading default user
|
|
||||||
# autologin-session = Session to load for automatic login (overrides user-session)
|
|
||||||
# autologin-in-background = True if autologin session should not be immediately activated
|
|
||||||
# exit-on-failure = True if the daemon should exit if this seat fails
|
|
||||||
#
|
|
||||||
[Seat:*]
|
|
||||||
#type=local
|
|
||||||
#pam-service=lightdm
|
|
||||||
#pam-autologin-service=lightdm-autologin
|
|
||||||
#pam-greeter-service=lightdm-greeter
|
|
||||||
#xserver-command=X
|
|
||||||
#xmir-command=Xmir
|
|
||||||
#xserver-config=
|
|
||||||
#xserver-layout=
|
|
||||||
#xserver-allow-tcp=false
|
|
||||||
#xserver-share=true
|
|
||||||
#xserver-hostname=
|
|
||||||
#xserver-display-number=
|
|
||||||
#xdmcp-manager=
|
|
||||||
#xdmcp-port=177
|
|
||||||
#xdmcp-key=
|
|
||||||
#greeter-session=example-gtk-gnome
|
|
||||||
#greeter-hide-users=false
|
|
||||||
#greeter-allow-guest=true
|
|
||||||
#greeter-show-manual-login=false
|
|
||||||
#greeter-show-remote-login=true
|
|
||||||
#user-session=default
|
|
||||||
#allow-user-switching=true
|
|
||||||
#allow-guest=true
|
|
||||||
#guest-session=
|
|
||||||
session-wrapper=/etc/lightdm/Xsession
|
|
||||||
#greeter-wrapper=
|
|
||||||
#guest-wrapper=
|
|
||||||
#display-setup-script=
|
|
||||||
#display-stopped-script=
|
|
||||||
#greeter-setup-script=
|
|
||||||
#session-setup-script=
|
|
||||||
#session-cleanup-script=
|
|
||||||
#autologin-guest=false
|
|
||||||
#autologin-user=
|
|
||||||
#autologin-user-timeout=0
|
|
||||||
#autologin-in-background=false
|
|
||||||
#autologin-session=
|
|
||||||
#exit-on-failure=false
|
|
||||||
|
|
||||||
#
|
|
||||||
# XDMCP Server configuration
|
|
||||||
#
|
|
||||||
# enabled = True if XDMCP connections should be allowed
|
|
||||||
# port = UDP/IP port to listen for connections on
|
|
||||||
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
|
|
||||||
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
|
|
||||||
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
|
|
||||||
#
|
|
||||||
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
|
|
||||||
# it can be a word and the first 7 characters are used as the key.
|
|
||||||
#
|
|
||||||
[XDMCPServer]
|
|
||||||
#enabled=false
|
|
||||||
#port=177
|
|
||||||
#listen-address=
|
|
||||||
#key=
|
|
||||||
#hostname=
|
|
||||||
|
|
||||||
#
|
|
||||||
# VNC Server configuration
|
|
||||||
#
|
|
||||||
# enabled = True if VNC connections should be allowed
|
|
||||||
# command = Command to run Xvnc server with
|
|
||||||
# port = TCP/IP port to listen for connections on
|
|
||||||
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
|
|
||||||
# width = Width of display to use
|
|
||||||
# height = Height of display to use
|
|
||||||
# depth = Color depth of display to use
|
|
||||||
#
|
|
||||||
[VNCServer]
|
|
||||||
#enabled=false
|
|
||||||
#command=Xvnc
|
|
||||||
#port=5900
|
|
||||||
#listen-address=
|
|
||||||
#width=1024
|
|
||||||
#height=768
|
|
||||||
#depth=8
|
|
@@ -1 +0,0 @@
|
|||||||
LANG=C.UTF-8
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/share/zoneinfo/UTC
|
|
@@ -1,73 +0,0 @@
|
|||||||
# vim:set ft=sh
|
|
||||||
# MODULES
|
|
||||||
# The following modules are loaded before any boot hooks are
|
|
||||||
# run. Advanced users may wish to specify all system modules
|
|
||||||
# in this array. For instance:
|
|
||||||
# MODULES=(usbhid xhci_hcd)
|
|
||||||
MODULES=()
|
|
||||||
|
|
||||||
# BINARIES
|
|
||||||
# This setting includes any additional binaries a given user may
|
|
||||||
# wish into the CPIO image. This is run last, so it may be used to
|
|
||||||
# override the actual binaries included by a given hook
|
|
||||||
# BINARIES are dependency parsed, so you may safely ignore libraries
|
|
||||||
BINARIES=(setfont)
|
|
||||||
|
|
||||||
# FILES
|
|
||||||
# This setting is similar to BINARIES above, however, files are added
|
|
||||||
# as-is and are not parsed in any way. This is useful for config files.
|
|
||||||
FILES=()
|
|
||||||
|
|
||||||
# HOOKS
|
|
||||||
# This is the most important setting in this file. The HOOKS control the
|
|
||||||
# modules and scripts added to the image, and what happens at boot time.
|
|
||||||
# Order is important, and it is recommended that you do not change the
|
|
||||||
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
|
|
||||||
# help on a given hook.
|
|
||||||
# 'base' is _required_ unless you know precisely what you are doing.
|
|
||||||
# 'udev' is _required_ in order to automatically load modules
|
|
||||||
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
|
|
||||||
# Examples:
|
|
||||||
## This setup specifies all modules in the MODULES setting above.
|
|
||||||
## No RAID, lvm2, or encrypted root is needed.
|
|
||||||
# HOOKS=(base)
|
|
||||||
#
|
|
||||||
## This setup will autodetect all modules for your system and should
|
|
||||||
## work as a sane default
|
|
||||||
# HOOKS=(base udev autodetect modconf block filesystems fsck)
|
|
||||||
#
|
|
||||||
## This setup will generate a 'full' image which supports most systems.
|
|
||||||
## No autodetection is done.
|
|
||||||
# HOOKS=(base udev modconf block filesystems fsck)
|
|
||||||
#
|
|
||||||
## This setup assembles a mdadm array with an encrypted root file system.
|
|
||||||
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
|
|
||||||
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
|
|
||||||
#
|
|
||||||
## This setup loads an lvm2 volume group.
|
|
||||||
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
|
|
||||||
#
|
|
||||||
## NOTE: If you have /usr on a separate partition, you MUST include the
|
|
||||||
# usr and fsck hooks.
|
|
||||||
HOOKS=(base udev modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard)
|
|
||||||
|
|
||||||
# COMPRESSION
|
|
||||||
# Use this to compress the initramfs image. By default, zstd compression
|
|
||||||
# is used. Use 'cat' to create an uncompressed image.
|
|
||||||
COMPRESSION="zstd"
|
|
||||||
#COMPRESSION="gzip"
|
|
||||||
#COMPRESSION="bzip2"
|
|
||||||
#COMPRESSION="lzma"
|
|
||||||
#COMPRESSION="xz"
|
|
||||||
#COMPRESSION="lzop"
|
|
||||||
#COMPRESSION="lz4"
|
|
||||||
|
|
||||||
# COMPRESSION_OPTIONS
|
|
||||||
# Additional options for the compressor
|
|
||||||
#COMPRESSION_OPTIONS=()
|
|
||||||
|
|
||||||
# MODULES_DECOMPRESS
|
|
||||||
# Decompress kernel modules during initramfs creation.
|
|
||||||
# Enable to speedup boot process, disable to save RAM
|
|
||||||
# during early userspace. Switch (yes/no).
|
|
||||||
#MODULES_DECOMPRESS="yes"
|
|
@@ -1,11 +0,0 @@
|
|||||||
# mkinitcpio preset file for the kernel
|
|
||||||
|
|
||||||
#ALL_config='/etc/mkinitcpio.conf'
|
|
||||||
ALL_kver='/boot/vmlinuz-linux-lts'
|
|
||||||
|
|
||||||
PRESETS=('default' 'fallback')
|
|
||||||
|
|
||||||
default_image="/boot/initramfs-linux-lts.img"
|
|
||||||
|
|
||||||
fallback_image="/boot/initramfs-linux-lts-fallback.img"
|
|
||||||
fallback_options="-S autodetect"
|
|
@@ -1,7 +0,0 @@
|
|||||||
# The broadcom-wl package requires some modules to be disabled in order to use
|
|
||||||
# wl. Since the ISO image needs to cover many hardware cases, this file
|
|
||||||
# overrides the default blacklist in /usr/lib/modprobe.d/
|
|
||||||
#
|
|
||||||
# If you need to use wl, you may need to delete this file, then `rmmod` any
|
|
||||||
# already-loaded modules that are now blacklisted before proceeding to modprobe
|
|
||||||
# wl itself.
|
|
@@ -1,19 +0,0 @@
|
|||||||
# Name Service Switch configuration file.
|
|
||||||
# See nsswitch.conf(5) for details.
|
|
||||||
|
|
||||||
passwd: files systemd
|
|
||||||
group: files [SUCCESS=merge] systemd
|
|
||||||
shadow: files systemd
|
|
||||||
gshadow: files systemd
|
|
||||||
|
|
||||||
publickey: files
|
|
||||||
|
|
||||||
hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns
|
|
||||||
networks: files
|
|
||||||
|
|
||||||
protocols: files
|
|
||||||
services: files
|
|
||||||
ethers: files
|
|
||||||
rpc: files
|
|
||||||
|
|
||||||
netgroup: files
|
|
@@ -1,106 +0,0 @@
|
|||||||
#
|
|
||||||
# /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
|
|
||||||
#NoProgressBar
|
|
||||||
CheckSpace
|
|
||||||
#VerbosePkgLists
|
|
||||||
ParallelDownloads = 5
|
|
||||||
DownloadUser = alpm
|
|
||||||
#DisableSandbox
|
|
||||||
ILoveCandy
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
[chaotic-aur]
|
|
||||||
Include = /etc/pacman.d/chaotic-mirrorlist
|
|
||||||
|
|
||||||
[blackarch]
|
|
||||||
Include = /etc/pacman.d/blackarch-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
|
|
@@ -1,127 +0,0 @@
|
|||||||
# Server list generated by rankmirrors on 2024-12-24
|
|
||||||
# Australia
|
|
||||||
#Server = http://au.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://au.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://blackarch.mirror.digitalpacific.com.au/$repo/os/$arch
|
|
||||||
# Austria
|
|
||||||
#Server = http://mirror.easyname.at/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://mirror.easyname.at/blackarch/$repo/os/$arch
|
|
||||||
# Canada
|
|
||||||
#Server = http://ca.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://ca.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
# China
|
|
||||||
#Server = https://mirrors.hust.edu.cn/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.sjtu.edu.cn/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.nju.edu.cn/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirrors.nju.edu.cn/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.tuna.tsinghua.edu.cn/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirrors.aliyun.com/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.aliyun.com/blackarch/$repo/os/$arch
|
|
||||||
# Denmark
|
|
||||||
#Server = https://mirrors.dotsrc.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirrors.dotsrc.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://mirrors.dotsrc.org/blackarch/$repo/os/$arch
|
|
||||||
# Ecuador
|
|
||||||
#Server = http://mirror.cedia.org.ec/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.cedia.org.ec/blackarch/$repo/os/$arch
|
|
||||||
# France
|
|
||||||
#Server = http://blackarch.leneveu.fr/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirror.cyberbits.eu/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.cyberbits.eu/blackarch/$repo/os/$arch
|
|
||||||
# Germany
|
|
||||||
#Server = https://www.blackarch.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://www.blackarch.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://de.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://de.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://ftp.halifax.rwth-aachen.de/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://ftp.halifax.rwth-aachen.de/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://blackarch.unixpeople.org/$repo/os/$arch
|
|
||||||
#Server = https://blackarch.unixpeople.org/$repo/os/$arch
|
|
||||||
# Greece
|
|
||||||
#Server = http://ftp.cc.uoc.gr/mirrors/linux/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://ftp.cc.uoc.gr/mirrors/linux/blackarch/$repo/os/$arch
|
|
||||||
# Great Britain
|
|
||||||
#Server = http://www.mirrorservice.org/sites/blackarch.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://www.mirrorservice.org/sites/blackarch.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirrors.gethosted.online/blackarch/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.gethosted.online/blackarch/blackarch/$repo/os/$arch
|
|
||||||
# India
|
|
||||||
#Server = http://in.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://in.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.maa.albony.in/blackarch/$repo/os/$arch
|
|
||||||
# Iran
|
|
||||||
#Server = http://mirror.blackrepo.com/$repo/os/$arch
|
|
||||||
# Italy
|
|
||||||
#Server = http://blackarch.mirror.garr.it/mirrors/blackarch/$repo/os/$arch
|
|
||||||
# Japan
|
|
||||||
#Server = http://jp.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://jp.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://www.ftp.ne.jp/Linux/packages/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://www.ftp.ne.jp/Linux/packages/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://ftp.kddilabs.jp/Linux/packages/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://ftp.kddilabs.jp/Linux/packages/blackarch/$repo/os/$arch
|
|
||||||
# Korea
|
|
||||||
#Server = http://kr.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://kr.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
# Netherlands
|
|
||||||
#Server = http://mirror.serverion.com/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.serverion.com/blackarch/$repo/os/$arch
|
|
||||||
# Poland
|
|
||||||
#Server = http://ftp.icm.edu.pl/pub/Linux/dist/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://ftp.icm.edu.pl/pub/Linux/dist/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://ftp.icm.edu.pl/pub/Linux/dist/blackarch/$repo/os/$arch
|
|
||||||
#Server = gopher://ftp.icm.edu.pl/1/pub/Linux/dist/blackarch/$repo/os/$arch
|
|
||||||
# Portugal
|
|
||||||
#Server = http://eu.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://eu.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
# Romania
|
|
||||||
#Server = http://mirrors.hostico.ro/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.hostico.ro/blackarch/$repo/os/$arch
|
|
||||||
# Russia
|
|
||||||
#Server = http://repository.su/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://repository.su/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirror.yandex.ru/mirrors/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://mirror.yandex.ru/mirrors/blackarch/$repo/os/$arch
|
|
||||||
# Singapore
|
|
||||||
#Server = http://sg.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://sg.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://download.nus.edu.sg/mirror/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://download.nus.edu.sg/mirror/blackarch/$repo/os/$arch
|
|
||||||
# Sweden
|
|
||||||
#Server = http://mirror.zetup.net/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.zetup.net/blackarch/$repo/os/$arch
|
|
||||||
# Switzerland
|
|
||||||
#Server = http://mirror.easyname.ch/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://mirror.easyname.ch/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.tillo.ch/ftp/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirror.tillo.ch/ftp/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftpes://mirror.tillo.ch/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://mirror.tillo.ch/blackarch/$repo/os/$arch
|
|
||||||
# Turkey
|
|
||||||
#Server = http://ftp.linux.org.tr/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://ftp.linux.org.tr/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://ftp.linux.org.tr/blackarch/$repo/os/$arch
|
|
||||||
# Taiwan
|
|
||||||
#Server = http://blackarch.cs.nycu.edu.tw/$repo/os/$arch
|
|
||||||
#Server = https://blackarch.cs.nycu.edu.tw/$repo/os/$arch
|
|
||||||
#Server = http://mirror.archlinux.tw/BlackArch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.archlinux.tw/BlackArch/$repo/os/$arch
|
|
||||||
# UK
|
|
||||||
#Server = http://mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirrors.gethosted.online/blackarch/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.gethosted.online/blackarch/blackarch/$repo/os/$arch
|
|
||||||
# US
|
|
||||||
#Server = http://us.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://us.mirrors.cicku.me/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirror.math.princeton.edu/pub/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://distro.ibiblio.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://distro.ibiblio.org/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirror.team-cymru.com/blackarch/$repo/os/$arch
|
|
||||||
#Server = ftp://mirror.team-cymru.com/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://mirrors.ocf.berkeley.edu/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://mirrors.ocf.berkeley.edu/blackarch/$repo/os/$arch
|
|
||||||
#Server = https://ftp2.osuosl.org/pub/blackarch/$repo/os/$arch
|
|
||||||
#Server = http://ftp2.osuosl.org/pub/blackarch/$repo/os/$arch
|
|
||||||
Server = https://ftp.halifax.rwth-aachen.de/blackarch/$repo/os/$arch
|
|
@@ -1,44 +0,0 @@
|
|||||||
# Server list generated by rankmirrors on 2024-12-24
|
|
||||||
## Special CDN mirror (delayed syncing, expect some (safe to ignore) amount of 404s)
|
|
||||||
# Globally
|
|
||||||
# * By: Garuda Linux donators, hosted on Cloudflare R2
|
|
||||||
# Automatic per-country routing of the mirrors below.
|
|
||||||
## Regular Syncthing mirrors (close to instant syncing)
|
|
||||||
# Brazil
|
|
||||||
# * By: Universidade Federal de São Carlos (São Carlos)
|
|
||||||
# Bulgaria
|
|
||||||
# * By: Sudo Man <github.com/sakrayaami>
|
|
||||||
# Canada
|
|
||||||
# * By freebird54 (Toronto)
|
|
||||||
# Chile
|
|
||||||
# * By makzk (Santiago)
|
|
||||||
# Germany (de-1 ceased to exist)
|
|
||||||
# * By: ParanoidBangL
|
|
||||||
# * By: itsTyrion
|
|
||||||
# * By: redgloboli
|
|
||||||
# France
|
|
||||||
# * By Yael (Marseille)
|
|
||||||
# Greece
|
|
||||||
# * By: vmmaniac <github.com/vmmaniac>
|
|
||||||
# India
|
|
||||||
# * By Naman (Kaithal)
|
|
||||||
# * By Albony <https://albony.xyz/>
|
|
||||||
# * By: BRAVO68DEV <https://www.itsmebravo.dev/>
|
|
||||||
# * By Albony (Chennai)
|
|
||||||
# Korea
|
|
||||||
# * By: <t.me/silent_heigou> (Seoul)
|
|
||||||
# Spain
|
|
||||||
# * By: JKANetwork
|
|
||||||
# * By: Ícar <t.me/IcarNS>
|
|
||||||
# United States
|
|
||||||
# * By: Technetium1 <github.com/Technetium1>
|
|
||||||
# New York
|
|
||||||
# * By: xstefen <t.me/xstefen>
|
|
||||||
# Utah
|
|
||||||
# * By: ash <t.me/the_ashh>
|
|
||||||
Server = https://bg-mirror.chaotic.cx/$repo/$arch
|
|
||||||
Server = https://br-mirror.chaotic.cx/$repo/$arch
|
|
||||||
Server = https://ca-mirror.chaotic.cx/$repo/$arch
|
|
||||||
Server = https://cdn-mirror.chaotic.cx/$repo/$arch
|
|
||||||
Server = https://cl-mirror.chaotic.cx/$repo/$arch
|
|
||||||
Server = https://de-2-mirror.chaotic.cx/$repo/$arch
|
|
@@ -1,740 +0,0 @@
|
|||||||
##
|
|
||||||
## Arch Linux repository mirrorlist
|
|
||||||
## Filtered by mirror score from mirror status page
|
|
||||||
## Generated on 2024-12-29
|
|
||||||
##
|
|
||||||
|
|
||||||
## Finland
|
|
||||||
Server = https://mirrors.janbruckner.de/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://arch.mirror.k0.ae/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://plug-mirror.rcac.purdue.edu/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/$arch
|
|
||||||
## Taiwan
|
|
||||||
Server = https://tw.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Estonia
|
|
||||||
Server = https://mirror.cspacehostings.com/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://us.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## Spain
|
|
||||||
Server = https://nox.panibrez.com/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.rit.edu/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://ziply.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Hong Kong
|
|
||||||
Server = https://hkg.mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.ocf.berkeley.edu/archlinux/$repo/os/$arch
|
|
||||||
## Bangladesh
|
|
||||||
Server = https://mirror.xeonbd.com/archlinux/$repo/os/$arch
|
|
||||||
## Hong Kong
|
|
||||||
Server = https://arch-mirror.wtako.net/$repo/os/$arch
|
|
||||||
## Czechia
|
|
||||||
Server = https://europe.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.i3d.net/pub/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.qlu.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Worldwide
|
|
||||||
Server = https://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://os.codefionn.eu/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://ftp.agdsn.de/pub/mirrors/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://mirror.worldhotspot.org/archlinux/$repo/os/$arch
|
|
||||||
## Denmark
|
|
||||||
Server = https://mirrors.dotsrc.org/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.mit.edu/archlinux/$repo/os/$arch
|
|
||||||
## Brazil
|
|
||||||
Server = https://archlinux.c3sl.ufpr.br/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://gb.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Austria
|
|
||||||
Server = https://at.arch.mirror.kescher.at/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://codingflyboy.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://muug.ca/mirror/archlinux/$repo/os/$arch
|
|
||||||
## Georgia
|
|
||||||
Server = https://archlinux.grena.ge/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirror.server.net/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.shanghaitech.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://mirror.puzzle.ch/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Ukraine
|
|
||||||
Server = https://fastmirror.pp.ua/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.23m.com/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://theswissbay.ch/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.arizona.edu/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirror.ibakerserver.pt/Arch/$repo/os/$arch
|
|
||||||
## Belgium
|
|
||||||
Server = https://mirror.jonas-prz.be/$repo/os/$arch
|
|
||||||
## Indonesia
|
|
||||||
Server = https://mirror.citrahost.com/archlinux/$repo/os/$arch
|
|
||||||
## Estonia
|
|
||||||
Server = https://repo.br.ee/arch/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirror.vinehost.net/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://ru.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Belgium
|
|
||||||
Server = https://mirror.tiguinet.net/arch/$repo/os/$arch
|
|
||||||
## Taiwan
|
|
||||||
Server = https://mirror.archlinux.tw/ArchLinux/$repo/os/$arch
|
|
||||||
## Australia
|
|
||||||
Server = https://archlinux.mirror.digitalpacific.com.au/$repo/os/$arch
|
|
||||||
## Ukraine
|
|
||||||
Server = https://mirror.mirohost.net/archlinux/$repo/os/$arch
|
|
||||||
## Bulgaria
|
|
||||||
Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirrors.melbourne.co.uk/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.wtnet.de/archlinux/$repo/os/$arch
|
|
||||||
## Chile
|
|
||||||
Server = https://elmirror.cl/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://coresite.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://repository.su/archlinux/$repo/os/$arch
|
|
||||||
## Taiwan
|
|
||||||
Server = https://archlinux.ccns.ncku.edu.tw/archlinux/$repo/os/$arch
|
|
||||||
## Brazil
|
|
||||||
Server = https://br.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Finland
|
|
||||||
Server = https://mirror.5i.fi/archlinux/$repo/os/$arch
|
|
||||||
## Australia
|
|
||||||
Server = https://sydney.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.metalgamer.eu/archlinux/$repo/os/$arch
|
|
||||||
## Romania
|
|
||||||
Server = https://mirrors.hostico.ro/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://archlinux.doridian.net/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirror.bytemark.co.uk/archlinux/$repo/os/$arch
|
|
||||||
## South Korea
|
|
||||||
Server = https://mirror.funami.tech/arch/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://in.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.nju.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.hasphetica.win/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror.xenyth.net/archlinux/$repo/os/$arch
|
|
||||||
## Mexico
|
|
||||||
Server = https://lidsol.fi-b.unam.mx/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirrors.xtom.nl/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.colonelhosting.com/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.jcut.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Iran
|
|
||||||
Server = https://mirror.hakimi-soft.ir/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://files.hadiko.de/pub/dists/arch/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://london.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.adectra.com/archlinux/$repo/os/$arch
|
|
||||||
## Estonia
|
|
||||||
Server = https://mirrors.xtom.ee/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirrors.n-ix.net/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://de.arch.mirror.kescher.at/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://ca.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Romania
|
|
||||||
Server = https://mirrors.chroot.ro/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.iu13.net/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://nocix.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://arch.phinau.de/$repo/os/$arch
|
|
||||||
## Thailand
|
|
||||||
Server = https://mirror.kku.ac.th/archlinux/$repo/os/$arch
|
|
||||||
## Moldova
|
|
||||||
Server = https://md.mirrors.hacktegic.com/archlinux/$repo/os/$arch
|
|
||||||
## Israel
|
|
||||||
Server = https://mirror.isoc.org.il/pub/archlinux/$repo/os/$arch
|
|
||||||
## Saudi Arabia
|
|
||||||
Server = https://sa.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Czechia
|
|
||||||
Server = https://gluttony.sin.cvut.cz/arch/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirror.st2projects.com/archlinux/$repo/os/$arch
|
|
||||||
## Uzbekistan
|
|
||||||
Server = https://mirror.dc.uz/arch/$repo/os/$arch
|
|
||||||
## Finland
|
|
||||||
Server = https://mirror.wuki.li/archlinux/$repo/os/$arch
|
|
||||||
## Japan
|
|
||||||
Server = https://repo.jing.rocks/archlinux/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://mirror.nag.albony.in/archlinux/$repo/os/$arch
|
|
||||||
## Australia
|
|
||||||
Server = https://au.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://uvermont.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Kenya
|
|
||||||
Server = https://archlinux.mirror.liquidtelecom.com/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://m.lqy.me/arch/$repo/os/$arch
|
|
||||||
## Sweden
|
|
||||||
Server = https://mirror.braindrainlan.nu/archlinux/$repo/os/$arch
|
|
||||||
## Poland
|
|
||||||
Server = https://arch.sakamoto.pl/$repo/os/$arch
|
|
||||||
## South Korea
|
|
||||||
Server = https://mirror.yuki.net.uk/archlinux/$repo/os/$arch
|
|
||||||
## Italy
|
|
||||||
Server = https://it.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.pit.teraswitch.com/archlinux/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://mirror.albony.in/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirror.theo546.fr/archlinux/$repo/os/$arch
|
|
||||||
## Lithuania
|
|
||||||
Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch
|
|
||||||
## Austria
|
|
||||||
Server = https://mirror.alwyzon.net/archlinux/$repo/os/$arch
|
|
||||||
## New Zealand
|
|
||||||
Server = https://mirror.2degrees.nz/archlinux/$repo/os/$arch
|
|
||||||
## United Arab Emirates
|
|
||||||
Server = https://mirror.hafeezh.com/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.bethselamin.de/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://in.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://mirror.ungleich.ch/mirror/packages/archlinux/$repo/os/$arch
|
|
||||||
## Ukraine
|
|
||||||
Server = https://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch
|
|
||||||
## Sweden
|
|
||||||
Server = https://ftp.myrveln.se/pub/linux/archlinux/$repo/os/$arch
|
|
||||||
## Ukraine
|
|
||||||
Server = https://mirror.hostiko.network/archlinux/$repo/os/$arch
|
|
||||||
## Iceland
|
|
||||||
Server = https://is.mirror.flokinet.net/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.pseudoform.org/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://us.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://mirrors.saswata.cc/archlinux/$repo/os/$arch
|
|
||||||
## Serbia
|
|
||||||
Server = https://mirror1.sox.rs/archlinux/$repo/os/$arch
|
|
||||||
## Greece
|
|
||||||
Server = https://repo.greeklug.gr/data/pub/linux/archlinux/$repo/os/$arch
|
|
||||||
## Romania
|
|
||||||
Server = https://mirrors.hosterion.ro/archlinux/$repo/os/$arch
|
|
||||||
## Romania
|
|
||||||
Server = https://ro.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://nl.mirror.flokinet.net/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirrors.pablonara.com/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://archlinux.mirror.wearetriple.com/$repo/os/$arch
|
|
||||||
## Poland
|
|
||||||
Server = https://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://archlinux.thaller.ws/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirror.wormhole.eu/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://arch.yourlabs.org/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://arch-mirror.marcusspencer.xyz:4443/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://mirror.kpfu.ru/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirror.netweaver.uk/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://arch.mirror.constant.com/$repo/os/$arch
|
|
||||||
## Azerbaijan
|
|
||||||
Server = https://mirror.yer.az/archlinux/$repo/os/$arch
|
|
||||||
## Taiwan
|
|
||||||
Server = https://free.nchc.org.tw/arch/$repo/os/$arch
|
|
||||||
## Finland
|
|
||||||
Server = https://arch.yhtez.xyz/$repo/os/$arch
|
|
||||||
## Hong Kong
|
|
||||||
Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
## Ukraine
|
|
||||||
Server = https://repo.hyron.dev/archlinux/$repo/os/$arch
|
|
||||||
## Taiwan
|
|
||||||
Server = https://mirror.twds.com.tw/archlinux/$repo/os/$arch
|
|
||||||
## Taiwan
|
|
||||||
Server = https://archlinux.cs.nycu.edu.tw/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://arch.mirrors.lavatech.top/$repo/os/$arch
|
|
||||||
## Hungary
|
|
||||||
Server = https://quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://f.matthieul.dev/mirror/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://mirror.metanet.ch/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://iad.mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.pagenotfound.de/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://archlinux.mirror.liteserver.nl/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://pkg.adfinis-on-exoscale.ch/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://ftp.osuosl.org/pub/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://ftp.fau.de/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mnvoip.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.cmt.de/archlinux/$repo/os/$arch
|
|
||||||
## Australia
|
|
||||||
Server = https://gsl-syd.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://mirror.yandex.ru/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror.cpsc.ucalgary.ca/mirror/archlinux.org/$repo/os/$arch
|
|
||||||
## Australia
|
|
||||||
Server = https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.serverion.com/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.sjtug.sjtu.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Sweden
|
|
||||||
Server = https://ftp.lysator.liu.se/pub/archlinux/$repo/os/$arch
|
|
||||||
## Italy
|
|
||||||
Server = https://arch.mirror.hyperbit.it/$repo/os/$arch
|
|
||||||
## Finland
|
|
||||||
Server = https://mirror.srv.fail/archlinux/$repo/os/$arch
|
|
||||||
## South Korea
|
|
||||||
Server = https://ftp.lanet.kr/pub/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://iad.mirrors.misaka.one/archlinux/$repo/os/$arch
|
|
||||||
## New Caledonia
|
|
||||||
Server = https://archlinux.nautile.nc/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror.qctronics.com/archlinux/$repo/os/$arch
|
|
||||||
## Hungary
|
|
||||||
Server = https://ftp.ek-cer.hu/pub/mirrors/ftp.archlinux.org/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.lcarilla.de/archlinux/$repo/os/$arch
|
|
||||||
## Vietnam
|
|
||||||
Server = https://mirrors.huongnguyen.dev/arch/$repo/os/$arch
|
|
||||||
## Portugal
|
|
||||||
Server = https://ftp.rnl.tecnico.ulisboa.pt/pub/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://repo.c48.uk/arch/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://arch.kurdy.org/$repo/os/$arch
|
|
||||||
## Hungary
|
|
||||||
Server = https://super.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch
|
|
||||||
## Singapore
|
|
||||||
Server = https://mirror.jingk.ai/archlinux/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://mirror.sahil.world/archlinux/$repo/os/$arch
|
|
||||||
## Czechia
|
|
||||||
Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.xtom.com/archlinux/$repo/os/$arch
|
|
||||||
## Austria
|
|
||||||
Server = https://at.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://mirror.nw-sys.ru/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://mirror.truenetwork.ru/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirrors.ukfast.co.uk/sites/archlinux.org/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Chile
|
|
||||||
Server = https://mirror.hnd.cl/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirror.oldsql.cc/archlinux/$repo/os/$arch
|
|
||||||
## Romania
|
|
||||||
Server = https://ro.mirror.flokinet.net/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://de-nue.soulharsh007.dev/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://ridgewireless.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror.quantum5.ca/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://archlinux.mailtunnel.eu/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirror.nyist.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.cj2.nl/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://archlinux.gay/archlinux/$repo/os/$arch
|
|
||||||
## South Korea
|
|
||||||
Server = https://mirror.siwoo.org/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://arch.unixpeople.org/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://mirror2.sl-chat.ru/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirrors.jtremesay.org/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.zackmyers.io/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://pkg.adfinis-on-exoscale.ch/archlinux-pkgbuild/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Slovenia
|
|
||||||
Server = https://mirror.tux.si/arch/$repo/os/$arch
|
|
||||||
## Nepal
|
|
||||||
Server = https://mirrors.nepalicloud.com/archlinux/$repo/os/$arch
|
|
||||||
## South Africa
|
|
||||||
Server = https://mirrors.urbanwave.co.za/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://nnenix.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Indonesia
|
|
||||||
Server = https://mirror.papua.go.id/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://zxcvfdsa.com/arch/$repo/os/$arch
|
|
||||||
## Indonesia
|
|
||||||
Server = https://mirror.ditatompel.com/archlinux/$repo/os/$arch
|
|
||||||
## Singapore
|
|
||||||
Server = https://mirror.sg.gs/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.informatik.tu-freiberg.de/arch/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.pilotfiber.com/archlinux/$repo/os/$arch
|
|
||||||
## Ukraine
|
|
||||||
Server = https://archlinux.ip-connect.vn.ua/$repo/os/$arch
|
|
||||||
## Denmark
|
|
||||||
Server = https://mirror.group.one/archlinux/$repo/os/$arch
|
|
||||||
## Spain
|
|
||||||
Server = https://es.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://archlinux.richard-neumann.de/$repo/os/$arch
|
|
||||||
## Slovenia
|
|
||||||
Server = https://www.sooftware.com/mirrors/Arch-Linux/$repo/os/$arch
|
|
||||||
## Moldova
|
|
||||||
Server = https://mirror.ihost.md/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.iusearchbtw.nl/$repo/os/$arch
|
|
||||||
## Singapore
|
|
||||||
Server = https://mirror.guillaumea.fr/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://arch.jensgutermuth.de/$repo/os/$arch
|
|
||||||
## Romania
|
|
||||||
Server = https://mirrors.pidginhost.com/arch/$repo/os/$arch
|
|
||||||
## Hong Kong
|
|
||||||
Server = https://mirror-hk.koddos.net/archlinux/$repo/os/$arch
|
|
||||||
## Iran
|
|
||||||
Server = https://mirror.arvancloud.ir/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://archlinux.mirrors.ovh.net/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://arch.goober.cloud/$repo/os/$arch
|
|
||||||
## Mexico
|
|
||||||
Server = https://arch.jsc.mx/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.eto.dev/arch/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.sunred.org/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://mirrors.xhosts.co.uk/arch/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://arlm.tyzoid.com/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://ohioix.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.lug.mtu.edu/archlinux/$repo/os/$arch
|
|
||||||
## Chile
|
|
||||||
Server = https://mirror.ufro.cl/archlinux/$repo/os/$arch
|
|
||||||
## Türkiye
|
|
||||||
Server = https://tr.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.moson.org/arch/$repo/os/$arch
|
|
||||||
## Latvia
|
|
||||||
Server = https://archlinux.koyanet.lv/archlinux/$repo/os/$arch
|
|
||||||
## Iran
|
|
||||||
Server = https://mirror.bardia.tech/archlinux/$repo/os/$arch
|
|
||||||
## Sweden
|
|
||||||
Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch
|
|
||||||
## Albania
|
|
||||||
Server = https://al.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://opencolo.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.hugo-betrugo.de/archlinux/$repo/os/$arch
|
|
||||||
## Ukraine
|
|
||||||
Server = https://mirrors.reitarovskyi.tech/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://us-1.arch-linux.mirror.shieldblaze.com/$repo/os/$arch
|
|
||||||
## Australia
|
|
||||||
Server = https://syd.mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
## Portugal
|
|
||||||
Server = https://mirror.barata.pt/archlinux/$repo/os/$arch
|
|
||||||
## Norway
|
|
||||||
Server = https://mirror.neuf.no/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://lon.mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://mirror3.sl-chat.ru/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.wdc1.us.leaseweb.net/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.wsyu.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Portugal
|
|
||||||
Server = https://mirror.leitecastro.com/archlinux/$repo/os/$arch
|
|
||||||
## Singapore
|
|
||||||
Server = https://sg.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.kumi.systems/archlinux/$repo/os/$arch
|
|
||||||
## Poland
|
|
||||||
Server = https://ftp.psnc.pl/linux/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror.0xem.ma/arch/$repo/os/$arch
|
|
||||||
## Japan
|
|
||||||
Server = https://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch
|
|
||||||
## Slovakia
|
|
||||||
Server = https://mirror.lnx.sk/pub/linux/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://archmirror1.octyl.net/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirror.rznet.fr/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://volico.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://southfront.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.jxust.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## South Africa
|
|
||||||
Server = https://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.mijn.host/archlinux/$repo/os/$arch
|
|
||||||
## Colombia
|
|
||||||
Server = https://edgeuno-bog2.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.jlu.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://nl.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Czechia
|
|
||||||
Server = https://mirror.dkm.cz/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.bouwhuis.network/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://de.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Indonesia
|
|
||||||
Server = https://mirror.repository.id/archlinux/$repo/os/$arch
|
|
||||||
## Spain
|
|
||||||
Server = https://mirrors.marquitos.space/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.clarkson.edu/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror.scd31.com/arch/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://repo.ialab.dsu.edu/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://ord.mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
## Vietnam
|
|
||||||
Server = https://mirrors.twilight.fyi/archlinux/$repo/os/$arch
|
|
||||||
## Indonesia
|
|
||||||
Server = https://vpsmurah.jagoanhosting.com/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://arch.mirror.winslow.cloud/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.aliyun.com/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirrors.gandi.net/archlinux/$repo/os/$arch
|
|
||||||
## Norway
|
|
||||||
Server = https://mirror.archlinux.no/$repo/os/$arch
|
|
||||||
## Vietnam
|
|
||||||
Server = https://mirrors.nguyenhoang.cloud/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://elda.asgardius.company/archlinux/$repo/os/$arch
|
|
||||||
## Finland
|
|
||||||
Server = https://mirror1.sl-chat.ru/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.koddos.net/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.umd.edu/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.mia11.us.leaseweb.net/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.sonic.net/archlinux/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://mirror.fossindia.ovh/archlinux/$repo/os/$arch
|
|
||||||
## South Africa
|
|
||||||
Server = https://za.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Poland
|
|
||||||
Server = https://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch
|
|
||||||
## New Zealand
|
|
||||||
Server = https://archlinux.ourhome.kiwi/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://packages.oth-regensburg.de/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch
|
|
||||||
## Italy
|
|
||||||
Server = https://archlinux.mirror.server24.net/$repo/os/$arch
|
|
||||||
## Hungary
|
|
||||||
Server = https://nova.quantum-mirror.hu/mirrors/pub/archlinux/$repo/os/$arch
|
|
||||||
## Bulgaria
|
|
||||||
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
|
|
||||||
## Moldova
|
|
||||||
Server = https://mirror.mangohost.net/archlinux/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.lyrahosting.com/archlinux/$repo/os/$arch
|
|
||||||
## Indonesia
|
|
||||||
Server = https://mirror.gi.co.id/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch
|
|
||||||
## Singapore
|
|
||||||
Server = https://sg.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://arch.syxpi.fr/arch/$repo/os/$arch
|
|
||||||
## Kazakhstan
|
|
||||||
Server = https://mirror.ps.kz/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://fr.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://mirror.init7.net/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.hust.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.netcologne.de/archlinux/$repo/os/$arch
|
|
||||||
## China
|
|
||||||
Server = https://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://pkg.adfinis.com/archlinux/$repo/os/$arch
|
|
||||||
## Worldwide
|
|
||||||
Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
## Chile
|
|
||||||
Server = https://mirror.anquan.cl/archlinux/$repo/os/$arch
|
|
||||||
## Australia
|
|
||||||
Server = https://au.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
|
|
||||||
## North Macedonia
|
|
||||||
Server = https://mirror.t-home.mk/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirrors.xtom.de/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://archlinux.homeinfo.de/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://dfw.mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://forksystems.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://us-mnz.soulharsh007.dev/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirror.peeres-telecom.fr/archlinux/$repo/os/$arch
|
|
||||||
## Switzerland
|
|
||||||
Server = https://ch.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Spain
|
|
||||||
Server = https://mirror.raiolanetworks.com/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.theash.xyz/arch/$repo/os/$arch
|
|
||||||
## Portugal
|
|
||||||
Server = https://mirrors.up.pt/pub/archlinux/$repo/os/$arch
|
|
||||||
## Japan
|
|
||||||
Server = https://mirror.aria-on-the-planet.es/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://irltoolkit.mm.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Canada
|
|
||||||
Server = https://mirror2.evolution-host.com/archlinux/$repo/os/$arch
|
|
||||||
## Japan
|
|
||||||
Server = https://www.miraa.jp/archlinux/$repo/os/$arch
|
|
||||||
## France
|
|
||||||
Server = https://mirrors.eric.ovh/arch/$repo/os/$arch
|
|
||||||
## Türkiye
|
|
||||||
Server = https://mirror.timtal.com.tr/archlinux/$repo/os/$arch
|
|
||||||
## Japan
|
|
||||||
Server = https://mirrors.cat.net/archlinux/$repo/os/$arch
|
|
||||||
## Czechia
|
|
||||||
Server = https://mirrors.nic.cz/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.vectair.net/archlinux/$repo/os/$arch
|
|
||||||
## Israel
|
|
||||||
Server = https://archlinux.interhost.co.il/$repo/os/$arch
|
|
||||||
## Austria
|
|
||||||
Server = https://at-vie.soulharsh007.dev/archlinux/$repo/os/$arch
|
|
||||||
## Poland
|
|
||||||
Server = https://arch.midov.pl/arch/$repo/os/$arch
|
|
||||||
## Hong Kong
|
|
||||||
Server = https://mirror.xtom.com.hk/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch
|
|
||||||
## Brazil
|
|
||||||
Server = https://mirror.ufscar.br/archlinux/$repo/os/$arch
|
|
||||||
## Colombia
|
|
||||||
Server = https://mirrors.atlas.net.co/archlinux/$repo/os/$arch
|
|
||||||
## Romania
|
|
||||||
Server = https://mirrors.nxthost.com/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://de.arch.niranjan.co/$repo/os/$arch
|
|
||||||
## Worldwide
|
|
||||||
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
## Netherlands
|
|
||||||
Server = https://mirror.ams1.nl.leaseweb.net/archlinux/$repo/os/$arch
|
|
||||||
## South Korea
|
|
||||||
Server = https://kr.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## United Kingdom
|
|
||||||
Server = https://repo.slithery.uk/$repo/os/$arch
|
|
||||||
## Russia
|
|
||||||
Server = https://mirror.kamtv.ru/archlinux/$repo/os/$arch
|
|
||||||
## India
|
|
||||||
Server = https://mirrors.abhy.me/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirror.fcix.net/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.selfnet.de/archlinux/$repo/os/$arch
|
|
||||||
## Singapore
|
|
||||||
Server = https://mirror.aktkn.sg/archlinux/$repo/os/$arch
|
|
||||||
## New Zealand
|
|
||||||
Server = https://mirror.fsmg.org.nz/archlinux/$repo/os/$arch
|
|
||||||
## Japan
|
|
||||||
Server = https://jp.mirrors.cicku.me/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://pkg.fef.moe/archlinux/$repo/os/$arch
|
|
||||||
## Cambodia
|
|
||||||
Server = https://mirror.sabay.com.kh/archlinux/$repo/os/$arch
|
|
||||||
## Sweden
|
|
||||||
Server = https://mirror.accum.se/mirror/archlinux/$repo/os/$arch
|
|
||||||
## Sweden
|
|
||||||
Server = https://mirror.bahnhof.net/pub/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://arch.hu.fo/archlinux/$repo/os/$arch
|
|
||||||
## Germany
|
|
||||||
Server = https://mirror.dogado.de/archlinux/$repo/os/$arch
|
|
||||||
## United States
|
|
||||||
Server = https://mirrors.bloomu.edu/archlinux/$repo/os/$arch
|
|
@@ -1,2 +0,0 @@
|
|||||||
root:x:0:0:root:/root:/usr/bin/zsh
|
|
||||||
snigdha:x:1000:1000::/home/snigdha:/bin/zsh
|
|
@@ -1,9 +0,0 @@
|
|||||||
/* Allow members of the wheel group to execute any actions
|
|
||||||
* without password authentication, similar to "sudo NOPASSWD:"
|
|
||||||
*/
|
|
||||||
polkit.addRule(function(action, subject) {
|
|
||||||
if (subject.isInGroup("wheel")) {
|
|
||||||
return polkit.Result.YES;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
@@ -1,2 +0,0 @@
|
|||||||
root::14871::::::
|
|
||||||
snigdha::14871::::::
|
|
@@ -1,431 +0,0 @@
|
|||||||
### EXPORT ###
|
|
||||||
export EDITOR='nano'
|
|
||||||
export VISUAL='nano'
|
|
||||||
export HISTCONTROL=ignoreboth:erasedups
|
|
||||||
export PAGER='most'
|
|
||||||
|
|
||||||
#Ibus settings if you need them
|
|
||||||
#type ibus-setup in terminal to change settings and start the daemon
|
|
||||||
#delete the hashtags of the next lines and restart
|
|
||||||
#export GTK_IM_MODULE=ibus
|
|
||||||
#export XMODIFIERS=@im=dbus
|
|
||||||
#export QT_IM_MODULE=ibus
|
|
||||||
|
|
||||||
PS1='[\u@\h \W]\$ '
|
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
|
||||||
[[ $- != *i* ]] && return
|
|
||||||
|
|
||||||
|
|
||||||
if [ -d "$HOME/.bin" ] ;
|
|
||||||
then PATH="$HOME/.bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "$HOME/.local/bin" ] ;
|
|
||||||
then PATH="$HOME/.local/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#ignore upper and lowercase when TAB completion
|
|
||||||
bind "set completion-ignore-case on"
|
|
||||||
|
|
||||||
### ALIASES ###
|
|
||||||
|
|
||||||
#list
|
|
||||||
alias ls='ls --color=auto'
|
|
||||||
alias la='ls -a'
|
|
||||||
alias ll='ls -alFh'
|
|
||||||
alias l='ls'
|
|
||||||
alias l.="ls -A | egrep '^\.'"
|
|
||||||
alias listdir="ls -d */ > list"
|
|
||||||
|
|
||||||
#pacman
|
|
||||||
alias sps='sudo pacman -S'
|
|
||||||
alias spr='sudo pacman -R'
|
|
||||||
alias sprs='sudo pacman -Rs'
|
|
||||||
alias sprdd='sudo pacman -Rdd'
|
|
||||||
alias spqo='sudo pacman -Qo'
|
|
||||||
alias spsii='sudo pacman -Sii'
|
|
||||||
|
|
||||||
# show the list of packages that need this package - depends mpv as example
|
|
||||||
function_depends() {
|
|
||||||
search=$(echo "$1")
|
|
||||||
sudo pacman -Sii $search | grep "Required" | sed -e "s/Required By : //g" | sed -e "s/ /\n/g"
|
|
||||||
}
|
|
||||||
|
|
||||||
alias depends='function_depends'
|
|
||||||
|
|
||||||
#fix obvious typo's
|
|
||||||
alias cd..='cd ..'
|
|
||||||
alias pdw='pwd'
|
|
||||||
alias udpate='sudo pacman -Syyu'
|
|
||||||
alias upate='sudo pacman -Syyu'
|
|
||||||
alias updte='sudo pacman -Syyu'
|
|
||||||
alias updqte='sudo pacman -Syyu'
|
|
||||||
alias upqll='paru -Syu --noconfirm'
|
|
||||||
alias upal='paru -Syu --noconfirm'
|
|
||||||
|
|
||||||
## Colorize the grep command output for ease of use (good for log files)##
|
|
||||||
alias grep='grep --color=auto'
|
|
||||||
alias egrep='egrep --color=auto'
|
|
||||||
alias fgrep='fgrep --color=auto'
|
|
||||||
|
|
||||||
#readable output
|
|
||||||
alias df='df -h'
|
|
||||||
|
|
||||||
#keyboard
|
|
||||||
alias give-me-azerty-be="sudo localectl set-x11-keymap be"
|
|
||||||
alias give-me-qwerty-us="sudo localectl set-x11-keymap us"
|
|
||||||
|
|
||||||
#setlocale
|
|
||||||
alias setlocale="sudo localectl set-locale LANG=en_US.UTF-8"
|
|
||||||
alias setlocales="sudo localectl set-x11-keymap be && sudo localectl set-locale LANG=en_US.UTF-8"
|
|
||||||
|
|
||||||
#pacman unlock
|
|
||||||
alias unlock="sudo rm /var/lib/pacman/db.lck"
|
|
||||||
alias rmpacmanlock="sudo rm /var/lib/pacman/db.lck"
|
|
||||||
|
|
||||||
#arcolinux logout unlock
|
|
||||||
alias rmlogoutlock="sudo rm /tmp/arcologout.lock"
|
|
||||||
|
|
||||||
#which graphical card is working
|
|
||||||
alias whichvga="/usr/local/bin/arcolinux-which-vga"
|
|
||||||
|
|
||||||
#free
|
|
||||||
alias free="free -mt"
|
|
||||||
|
|
||||||
#continue download
|
|
||||||
alias wget="wget -c"
|
|
||||||
|
|
||||||
#userlist
|
|
||||||
alias userlist="cut -d: -f1 /etc/passwd | sort"
|
|
||||||
|
|
||||||
#merge new settings
|
|
||||||
alias merge="xrdb -merge ~/.Xresources"
|
|
||||||
|
|
||||||
# Aliases for software managment
|
|
||||||
# pacman or pm
|
|
||||||
alias pacman='sudo pacman --color auto'
|
|
||||||
alias update='sudo pacman -Syyu'
|
|
||||||
alias upd='sudo pacman -Syyu'
|
|
||||||
|
|
||||||
# paru as aur helper - updates everything
|
|
||||||
alias pksyua="paru -Syu --noconfirm"
|
|
||||||
alias upall="paru -Syu --noconfirm"
|
|
||||||
alias upa="paru -Syu --noconfirm"
|
|
||||||
|
|
||||||
#ps
|
|
||||||
alias psa="ps auxf"
|
|
||||||
alias psgrep="ps aux | grep -v grep | grep -i -e VSZ -e"
|
|
||||||
|
|
||||||
#grub update
|
|
||||||
alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
|
||||||
alias grub-update="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
|
||||||
#grub issue 08/2022
|
|
||||||
alias install-grub-efi="sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ArcoLinux"
|
|
||||||
|
|
||||||
#add new fonts
|
|
||||||
alias update-fc='sudo fc-cache -fv'
|
|
||||||
|
|
||||||
#copy/paste all content of /etc/skel over to home folder - backup of config created - beware
|
|
||||||
#skel alias has been replaced with a script at /usr/local/bin/skel
|
|
||||||
|
|
||||||
#backup contents of /etc/skel to hidden backup folder in home/user
|
|
||||||
alias bupskel='cp -Rf /etc/skel ~/.skel-backup-$(date +%Y.%m.%d-%H.%M.%S)'
|
|
||||||
|
|
||||||
#copy shell configs
|
|
||||||
alias cb='cp /etc/skel/.bashrc ~/.bashrc && exec bash'
|
|
||||||
alias cz='cp /etc/skel/.zshrc ~/.zshrc && echo "Copied."'
|
|
||||||
alias cf='cp /etc/skel/.config/fish/config.fish ~/.config/fish/config.fish && echo "Copied."'
|
|
||||||
|
|
||||||
#switch between bash and zsh
|
|
||||||
alias tobash="sudo chsh $USER -s /bin/bash && echo 'Now log out.'"
|
|
||||||
alias tozsh="sudo chsh $USER -s /bin/zsh && echo 'Now log out.'"
|
|
||||||
alias tofish="sudo chsh $USER -s /bin/fish && echo 'Now log out.'"
|
|
||||||
|
|
||||||
#switch between displaymanager or bootsystem
|
|
||||||
alias toboot="sudo /usr/local/bin/arcolinux-toboot"
|
|
||||||
alias togrub="sudo /usr/local/bin/arcolinux-togrub"
|
|
||||||
alias torefind="sudo /usr/local/bin/arcolinux-torefind"
|
|
||||||
alias tolightdm="sudo pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings --noconfirm --needed ; sudo systemctl enable lightdm.service -f ; echo 'Lightm is active - reboot now'"
|
|
||||||
alias tosddm="sudo pacman -S sddm --noconfirm --needed ; sudo systemctl enable sddm.service -f ; echo 'Sddm is active - reboot now'"
|
|
||||||
alias toly="sudo pacman -S ly --noconfirm --needed ; sudo systemctl enable ly.service -f ; echo 'Ly is active - reboot now'"
|
|
||||||
alias togdm="sudo pacman -S gdm --noconfirm --needed ; sudo systemctl enable gdm.service -f ; echo 'Gdm is active - reboot now'"
|
|
||||||
alias tolxdm="sudo pacman -S lxdm --noconfirm --needed ; sudo systemctl enable lxdm.service -f ; echo 'Lxdm is active - reboot now'"
|
|
||||||
|
|
||||||
# kill commands
|
|
||||||
# quickly kill conkies
|
|
||||||
alias kc='killall conky'
|
|
||||||
# quickly kill polybar
|
|
||||||
alias kp='killall polybar'
|
|
||||||
# quickly kill picom
|
|
||||||
alias kpi='killall picom'
|
|
||||||
|
|
||||||
#hardware info --short
|
|
||||||
alias hw="hwinfo --short"
|
|
||||||
|
|
||||||
#audio check pulseaudio or pipewire
|
|
||||||
alias audio="pactl info | grep 'Server Name'"
|
|
||||||
|
|
||||||
#skip integrity check
|
|
||||||
alias paruskip='paru -S --mflags --skipinteg'
|
|
||||||
alias yayskip='yay -S --mflags --skipinteg'
|
|
||||||
alias trizenskip='trizen -S --skipinteg'
|
|
||||||
|
|
||||||
#check vulnerabilities microcode
|
|
||||||
alias microcode='grep . /sys/devices/system/cpu/vulnerabilities/*'
|
|
||||||
|
|
||||||
#approximation of how old your hardware is
|
|
||||||
alias howold="sudo lshw | grep -B 3 -A 8 BIOS"
|
|
||||||
|
|
||||||
#check cpu
|
|
||||||
alias cpu="cpuid -i | grep uarch | head -n 1"
|
|
||||||
|
|
||||||
#get fastest mirrors in your neighborhood
|
|
||||||
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias mirrord="sudo reflector --latest 30 --number 10 --sort delay --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias mirrors="sudo reflector --latest 30 --number 10 --sort score --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias mirrora="sudo reflector --latest 30 --number 10 --sort age --save /etc/pacman.d/mirrorlist"
|
|
||||||
#our experimental - best option for the moment
|
|
||||||
alias mirrorx="sudo reflector --age 6 --latest 20 --fastest 20 --threads 5 --sort rate --protocol https --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias mirrorxx="sudo reflector --age 6 --latest 20 --fastest 20 --threads 20 --sort rate --protocol https --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias ram='rate-mirrors --allow-root --disable-comments arch | sudo tee /etc/pacman.d/mirrorlist'
|
|
||||||
alias rams='rate-mirrors --allow-root --disable-comments --protocol https arch | sudo tee /etc/pacman.d/mirrorlist'
|
|
||||||
|
|
||||||
#mounting the folder Public for exchange between host and guest on virtualbox
|
|
||||||
alias vbm="sudo /usr/local/bin/arcolinux-vbox-share"
|
|
||||||
|
|
||||||
#enabling vmware services
|
|
||||||
alias start-vmware="sudo systemctl enable --now vmtoolsd.service"
|
|
||||||
alias vmware-start="sudo systemctl enable --now vmtoolsd.service"
|
|
||||||
alias sv="sudo systemctl enable --now vmtoolsd.service"
|
|
||||||
|
|
||||||
#shopt
|
|
||||||
shopt -s autocd # change to named directory
|
|
||||||
shopt -s cdspell # autocorrects cd misspellings
|
|
||||||
shopt -s cmdhist # save multi-line commands in history as single line
|
|
||||||
shopt -s dotglob
|
|
||||||
shopt -s histappend # do not overwrite history
|
|
||||||
shopt -s expand_aliases # expand aliases
|
|
||||||
|
|
||||||
#youtube download
|
|
||||||
alias yta-aac="yt-dlp --extract-audio --audio-format aac "
|
|
||||||
alias yta-best="yt-dlp --extract-audio --audio-format best "
|
|
||||||
alias yta-flac="yt-dlp --extract-audio --audio-format flac "
|
|
||||||
alias yta-mp3="yt-dlp --extract-audio --audio-format mp3 "
|
|
||||||
alias ytv-best="yt-dlp -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 "
|
|
||||||
|
|
||||||
#Recent Installed Packages
|
|
||||||
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"
|
|
||||||
alias riplong="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -3000 | nl"
|
|
||||||
|
|
||||||
#iso and version used to install ArcoLinux
|
|
||||||
alias iso="cat /etc/dev-rel | awk -F '=' '/ISO/ {print $2}'"
|
|
||||||
alias isoo="cat /etc/dev-rel"
|
|
||||||
|
|
||||||
#Cleanup orphaned packages
|
|
||||||
alias cleanup='sudo pacman -Rns $(pacman -Qtdq)'
|
|
||||||
|
|
||||||
# This will generate a list of explicitly installed packages
|
|
||||||
alias list="sudo pacman -Qqe"
|
|
||||||
#This will generate a list of explicitly installed packages without dependencies
|
|
||||||
alias listt="sudo pacman -Qqet"
|
|
||||||
# list of AUR packages
|
|
||||||
alias listaur="sudo pacman -Qqem"
|
|
||||||
# add > list at the end to write to a file
|
|
||||||
|
|
||||||
# install packages from list
|
|
||||||
# pacman -S --needed - < my-list-of-packages.txt
|
|
||||||
|
|
||||||
#clear
|
|
||||||
alias clean="clear; seq 1 $(tput cols) | sort -R | sparklines | lolcat"
|
|
||||||
|
|
||||||
#search content with ripgrep
|
|
||||||
alias rg="rg --sort path"
|
|
||||||
|
|
||||||
#get the error messages from journalctl
|
|
||||||
alias jctl="journalctl -p 3 -xb"
|
|
||||||
|
|
||||||
#nano for important configuration files
|
|
||||||
#know what you do in these files
|
|
||||||
alias nlxdm="sudo $EDITOR /etc/lxdm/lxdm.conf"
|
|
||||||
alias nlightdm="sudo $EDITOR /etc/lightdm/lightdm.conf"
|
|
||||||
alias npacman="sudo $EDITOR /etc/pacman.conf"
|
|
||||||
alias ngrub="sudo $EDITOR /etc/default/grub"
|
|
||||||
alias nconfgrub="sudo $EDITOR /boot/grub/grub.cfg"
|
|
||||||
alias nmakepkg="sudo $EDITOR /etc/makepkg.conf"
|
|
||||||
alias nmkinitcpio="sudo $EDITOR /etc/mkinitcpio.conf"
|
|
||||||
alias nmirrorlist="sudo $EDITOR /etc/pacman.d/mirrorlist"
|
|
||||||
alias narcomirrorlist="sudo $EDITOR /etc/pacman.d/arcolinux-mirrorlist"
|
|
||||||
alias nsddm="sudo $EDITOR /etc/sddm.conf"
|
|
||||||
alias nsddmk="sudo $EDITOR /etc/sddm.conf.d/kde_settings.conf"
|
|
||||||
alias nfstab="sudo $EDITOR /etc/fstab"
|
|
||||||
alias nnsswitch="sudo $EDITOR /etc/nsswitch.conf"
|
|
||||||
alias nsamba="sudo $EDITOR /etc/samba/smb.conf"
|
|
||||||
alias ngnupgconf="sudo $EDITOR /etc/pacman.d/gnupg/gpg.conf"
|
|
||||||
alias nhosts="sudo $EDITOR /etc/hosts"
|
|
||||||
alias nhostname="sudo $EDITOR /etc/hostname"
|
|
||||||
alias nresolv="sudo $EDITOR /etc/resolv.conf"
|
|
||||||
alias nb="$EDITOR ~/.bashrc"
|
|
||||||
alias nz="$EDITOR ~/.zshrc"
|
|
||||||
alias nf="$EDITOR ~/.config/fish/config.fish"
|
|
||||||
alias nneofetch="$EDITOR ~/.config/neofetch/config.conf"
|
|
||||||
alias nplymouth="sudo $EDITOR /etc/plymouth/plymouthd.conf"
|
|
||||||
alias nvconsole="sudo $EDITOR /etc/vconsole.conf"
|
|
||||||
alias nenvironment="sudo $EDITOR /etc/environment"
|
|
||||||
alias nloader="sudo $EDITOR /boot/efi/loader/loader.conf"
|
|
||||||
|
|
||||||
|
|
||||||
#reading logs with bat
|
|
||||||
alias lcalamares="bat /var/log/Calamares.log"
|
|
||||||
alias lpacman="bat /var/log/pacman.log"
|
|
||||||
alias lxorg="bat /var/log/Xorg.0.log"
|
|
||||||
alias lxorgo="bat /var/log/Xorg.0.log.old"
|
|
||||||
|
|
||||||
#gpg
|
|
||||||
#verify signature for isos
|
|
||||||
alias gpg-check="gpg2 --keyserver-options auto-key-retrieve --verify"
|
|
||||||
alias fix-gpg-check="gpg2 --keyserver-options auto-key-retrieve --verify"
|
|
||||||
#receive the key of a developer
|
|
||||||
alias gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys"
|
|
||||||
alias fix-gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys"
|
|
||||||
alias fix-keyserver="[ -d ~/.gnupg ] || mkdir ~/.gnupg ; cp /etc/pacman.d/gnupg/gpg.conf ~/.gnupg/ ; echo 'done'"
|
|
||||||
|
|
||||||
#fixes
|
|
||||||
alias fix-permissions="sudo chown -R $USER:$USER ~/.config ~/.local"
|
|
||||||
alias keyfix="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys"
|
|
||||||
alias key-fix="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys"
|
|
||||||
alias keys-fix="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys"
|
|
||||||
alias fixkey="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys"
|
|
||||||
alias fixkeys="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys"
|
|
||||||
alias fix-key="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys"
|
|
||||||
alias fix-keys="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys"
|
|
||||||
#fix-sddm-config is no longer an alias but an application - part of ATT
|
|
||||||
#alias fix-sddm-config="/usr/local/bin/arcolinux-fix-sddm-config"
|
|
||||||
alias fix-pacman-conf="/usr/local/bin/arcolinux-fix-pacman-conf"
|
|
||||||
alias fix-pacman-keyserver="/usr/local/bin/arcolinux-fix-pacman-gpg-conf"
|
|
||||||
alias fix-grub="/usr/local/bin/arcolinux-fix-grub"
|
|
||||||
alias fixgrub="/usr/local/bin/arcolinux-fix-grub"
|
|
||||||
|
|
||||||
#maintenance
|
|
||||||
alias big="expac -H M '%m\t%n' | sort -h | nl"
|
|
||||||
alias downgrada="sudo downgrade --ala-url https://ant.seedhost.eu/arcolinux/"
|
|
||||||
|
|
||||||
#hblock (stop tracking with hblock)
|
|
||||||
#use unhblock to stop using hblock
|
|
||||||
alias unhblock="hblock -S none -D none"
|
|
||||||
|
|
||||||
#systeminfo
|
|
||||||
alias probe="sudo -E hw-probe -all -upload"
|
|
||||||
alias sysfailed="systemctl list-units --failed"
|
|
||||||
|
|
||||||
#shutdown or reboot
|
|
||||||
alias ssn="sudo shutdown now"
|
|
||||||
alias sr="reboot"
|
|
||||||
|
|
||||||
#update betterlockscreen images
|
|
||||||
alias bls="betterlockscreen -u /usr/share/backgrounds/arcolinux/"
|
|
||||||
|
|
||||||
#give the list of all installed desktops - xsessions desktops
|
|
||||||
alias xd="ls /usr/share/xsessions"
|
|
||||||
alias xdw="ls /usr/share/wayland-sessions"
|
|
||||||
|
|
||||||
#give a list of the kernels installed
|
|
||||||
alias kernel="ls /usr/lib/modules"
|
|
||||||
alias kernels="ls /usr/lib/modules"
|
|
||||||
|
|
||||||
#am I on grub,systemd-boot or refind
|
|
||||||
alias boot="/usr/local/bin/arcolinux-boot"
|
|
||||||
|
|
||||||
# # ex = EXtractor for all kinds of archives
|
|
||||||
# # usage: ex <file>
|
|
||||||
ex ()
|
|
||||||
{
|
|
||||||
if [ -f $1 ] ; then
|
|
||||||
case $1 in
|
|
||||||
*.tar.bz2) tar xjf $1 ;;
|
|
||||||
*.tar.gz) tar xzf $1 ;;
|
|
||||||
*.bz2) bunzip2 $1 ;;
|
|
||||||
*.rar) unrar x $1 ;;
|
|
||||||
*.gz) gunzip $1 ;;
|
|
||||||
*.tar) tar xf $1 ;;
|
|
||||||
*.tbz2) tar xjf $1 ;;
|
|
||||||
*.tgz) tar xzf $1 ;;
|
|
||||||
*.zip) unzip $1 ;;
|
|
||||||
*.Z) uncompress $1;;
|
|
||||||
*.7z) 7z x $1 ;;
|
|
||||||
*.deb) ar x $1 ;;
|
|
||||||
*.tar.xz) tar xf $1 ;;
|
|
||||||
*.tar.zst) tar xf $1 ;;
|
|
||||||
*) echo "'$1' cannot be extracted via ex()" ;;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
echo "'$1' is not a valid file"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
#wayland aliases
|
|
||||||
alias wsimplescreen="wf-recorder -a"
|
|
||||||
alias wsimplescreenrecorder="wf-recorder -a -c h264_vaapi -C aac -d /dev/dri/renderD128 --file=recording.mp4"
|
|
||||||
|
|
||||||
#btrfs aliases
|
|
||||||
alias btrfsfs="sudo btrfs filesystem df /"
|
|
||||||
alias btrfsli="sudo btrfs su li / -t"
|
|
||||||
|
|
||||||
#snapper aliases
|
|
||||||
alias snapcroot="sudo snapper -c root create-config /"
|
|
||||||
alias snapchome="sudo snapper -c home create-config /home"
|
|
||||||
alias snapli="sudo snapper list"
|
|
||||||
alias snapcr="sudo snapper -c root create"
|
|
||||||
alias snapch="sudo snapper -c home create"
|
|
||||||
|
|
||||||
#Leftwm aliases
|
|
||||||
alias lti="leftwm-theme install"
|
|
||||||
alias ltu="leftwm-theme uninstall"
|
|
||||||
alias lta="leftwm-theme apply"
|
|
||||||
alias ltupd="leftwm-theme update"
|
|
||||||
alias ltupg="leftwm-theme upgrade"
|
|
||||||
|
|
||||||
#arcolinux applications
|
|
||||||
#att is a symbolic link now
|
|
||||||
#alias att="archlinux-tweak-tool"
|
|
||||||
alias adt="arcolinux-desktop-trasher"
|
|
||||||
alias abl="arcolinux-betterlockscreen"
|
|
||||||
alias agm="arcolinux-get-mirrors"
|
|
||||||
alias amr="arcolinux-mirrorlist-rank-info"
|
|
||||||
alias aom="arcolinux-osbeck-as-mirror"
|
|
||||||
alias ars="arcolinux-reflector-simple"
|
|
||||||
alias atm="arcolinux-tellme"
|
|
||||||
alias avs="arcolinux-vbox-share"
|
|
||||||
alias awa="arcolinux-welcome-app"
|
|
||||||
|
|
||||||
#git
|
|
||||||
alias rmgitcache="rm -r ~/.cache/git"
|
|
||||||
alias grh="git reset --hard"
|
|
||||||
|
|
||||||
#pamac
|
|
||||||
alias pamac-unlock="sudo rm /var/tmp/pamac/dbs/db.lock"
|
|
||||||
|
|
||||||
#moving your personal files and folders from /personal to ~
|
|
||||||
alias personal='cp -Rf /personal/* ~'
|
|
||||||
|
|
||||||
#create a file called .bashrc-personal and put all your personal aliases
|
|
||||||
#in there. They will not be overwritten by skel.
|
|
||||||
|
|
||||||
[[ -f ~/.bashrc-personal ]] && . ~/.bashrc-personal
|
|
||||||
|
|
||||||
# reporting tools - install when not installed
|
|
||||||
neofetch
|
|
||||||
#screenfetch
|
|
||||||
#alsi
|
|
||||||
#paleofetch
|
|
||||||
#fetch
|
|
||||||
#hfetch
|
|
||||||
#sfetch
|
|
||||||
#ufetch
|
|
||||||
#ufetch-arco
|
|
||||||
#pfetch
|
|
||||||
#sysinfo
|
|
||||||
#sysinfo-retro
|
|
||||||
#cpufetch
|
|
||||||
#colorscript random
|
|
||||||
#hyfetch
|
|
@@ -1,4 +0,0 @@
|
|||||||
LSB_VERSION=1.4
|
|
||||||
DISTRIB_ID=SnigdhaOS
|
|
||||||
DISTRIB_RELEASE=rolling
|
|
||||||
DISTRIB_DESCRIPTION="SnigdhaOS"
|
|
@@ -1,3 +0,0 @@
|
|||||||
# Allow root login using password authentication
|
|
||||||
PasswordAuthentication yes
|
|
||||||
PermitRootLogin yes
|
|
@@ -1 +0,0 @@
|
|||||||
%wheel ALL=(ALL:ALL) NOPASSWD: ALL
|
|
@@ -1,2 +0,0 @@
|
|||||||
[Journal]
|
|
||||||
Storage=volatile
|
|
@@ -1,4 +0,0 @@
|
|||||||
[Login]
|
|
||||||
HandleSuspendKey=ignore
|
|
||||||
HandleHibernateKey=ignore
|
|
||||||
HandleLidSwitch=ignore
|
|
@@ -1,2 +0,0 @@
|
|||||||
[Network]
|
|
||||||
IPv6PrivacyExtensions=yes
|
|
@@ -1,24 +0,0 @@
|
|||||||
[Match]
|
|
||||||
# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*).
|
|
||||||
# See https://bugs.archlinux.org/task/70892
|
|
||||||
# Instead match by globbing the network interface name.
|
|
||||||
Name=en*
|
|
||||||
Name=eth*
|
|
||||||
|
|
||||||
[Link]
|
|
||||||
RequiredForOnline=routable
|
|
||||||
|
|
||||||
[Network]
|
|
||||||
DHCP=yes
|
|
||||||
MulticastDNS=yes
|
|
||||||
|
|
||||||
# systemd-networkd does not set per-interface-type default route metrics
|
|
||||||
# https://github.com/systemd/systemd/issues/17698
|
|
||||||
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
|
|
||||||
# Use values from NetworkManager. From nm_device_get_route_metric_default in
|
|
||||||
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
|
|
||||||
[DHCPv4]
|
|
||||||
RouteMetric=100
|
|
||||||
|
|
||||||
[IPv6AcceptRA]
|
|
||||||
RouteMetric=100
|
|
@@ -1,20 +0,0 @@
|
|||||||
[Match]
|
|
||||||
Name=wl*
|
|
||||||
|
|
||||||
[Link]
|
|
||||||
RequiredForOnline=routable
|
|
||||||
|
|
||||||
[Network]
|
|
||||||
DHCP=yes
|
|
||||||
MulticastDNS=yes
|
|
||||||
|
|
||||||
# systemd-networkd does not set per-interface-type default route metrics
|
|
||||||
# https://github.com/systemd/systemd/issues/17698
|
|
||||||
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
|
|
||||||
# Use values from NetworkManager. From nm_device_get_route_metric_default in
|
|
||||||
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
|
|
||||||
[DHCPv4]
|
|
||||||
RouteMetric=600
|
|
||||||
|
|
||||||
[IPv6AcceptRA]
|
|
||||||
RouteMetric=600
|
|
@@ -1,19 +0,0 @@
|
|||||||
[Match]
|
|
||||||
Name=ww*
|
|
||||||
|
|
||||||
[Link]
|
|
||||||
RequiredForOnline=routable
|
|
||||||
|
|
||||||
[Network]
|
|
||||||
DHCP=yes
|
|
||||||
|
|
||||||
# systemd-networkd does not set per-interface-type default route metrics
|
|
||||||
# https://github.com/systemd/systemd/issues/17698
|
|
||||||
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
|
|
||||||
# Use values from NetworkManager. From nm_device_get_route_metric_default in
|
|
||||||
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
|
|
||||||
[DHCPv4]
|
|
||||||
RouteMetric=700
|
|
||||||
|
|
||||||
[IPv6AcceptRA]
|
|
||||||
RouteMetric=700
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/bluetooth.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/bluetooth.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/avahi-daemon.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/NetworkManager-dispatcher.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/systemd-timesyncd.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/graphical.target
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/lightdm.service
|
|
@@ -1,3 +0,0 @@
|
|||||||
[Service]
|
|
||||||
ExecStart=
|
|
||||||
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root - $TERM
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/NetworkManager.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/avahi-daemon.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cups.path
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/ntpd.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/snigdhaos-graphical-target.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/vboxservice.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/vmtoolsd.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/vmware-vmblock-fuse.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/NetworkManager-wait-online.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cups.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/avahi-daemon.socket
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/cups.socket
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/systemd-timesyncd.service
|
|
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/fstrim.timer
|
|
@@ -1 +0,0 @@
|
|||||||
FONT=gr737c-8x16
|
|
@@ -1,8 +0,0 @@
|
|||||||
# Reflector configuration file for the systemd service.
|
|
||||||
|
|
||||||
--save /etc/pacman.d/mirrorlist
|
|
||||||
--ipv4
|
|
||||||
--ipv6
|
|
||||||
--protocol https
|
|
||||||
--latest 20
|
|
||||||
--sort rate
|
|
@@ -1,44 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
script_cmdline() {
|
|
||||||
local param
|
|
||||||
for param in $(</proc/cmdline); do
|
|
||||||
case "${param}" in
|
|
||||||
script=*)
|
|
||||||
echo "${param#*=}"
|
|
||||||
return 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
automated_script() {
|
|
||||||
local script rt
|
|
||||||
script="$(script_cmdline)"
|
|
||||||
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
|
|
||||||
if [[ "${script}" =~ ^((http|https|ftp|tftp)://) ]]; then
|
|
||||||
# there's no synchronization for network availability before executing this script
|
|
||||||
printf '%s: waiting for network-online.target\n' "$0"
|
|
||||||
until systemctl --quiet is-active network-online.target; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
printf '%s: downloading %s\n' "$0" "${script}"
|
|
||||||
curl "${script}" --location --retry-connrefused --retry 10 --fail -s -o /tmp/startup_script
|
|
||||||
rt=$?
|
|
||||||
else
|
|
||||||
cp "${script}" /tmp/startup_script
|
|
||||||
rt=$?
|
|
||||||
fi
|
|
||||||
if [[ ${rt} -eq 0 ]]; then
|
|
||||||
chmod +x /tmp/startup_script
|
|
||||||
printf '%s: executing automated script\n' "$0"
|
|
||||||
# note that script is executed when other services (like pacman-init) may be still in progress, please
|
|
||||||
# synchronize to "systemctl is-system-running --wait" when your script depends on other services
|
|
||||||
/tmp/startup_script
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
if [[ $(tty) == "/dev/tty1" ]]; then
|
|
||||||
automated_script
|
|
||||||
fi
|
|
@@ -1,6 +0,0 @@
|
|||||||
# fix for screen readers
|
|
||||||
if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then
|
|
||||||
setopt SINGLE_LINE_ZLE
|
|
||||||
fi
|
|
||||||
|
|
||||||
~/.automated_script.sh
|
|
@@ -1,60 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
# Script Name: snigdhaos-snapper.sh
|
|
||||||
# Author: Rio
|
|
||||||
# Created Date: 30/12/2024
|
|
||||||
# Version: 1.0
|
|
||||||
# Description: Deletes Snapper snapshots in a specified range, removes custom
|
|
||||||
# scripts, and logs all actions. Includes dynamic snapshot
|
|
||||||
# detection, error handling, and logging.
|
|
||||||
# License: MIT
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Define variables
|
|
||||||
LOG_FILE="/var/log/snigdhaos-snapper.log"
|
|
||||||
SNAPPER_BIN="/usr/bin/snapper"
|
|
||||||
CUSTOM_SCRIPT="/usr/local/bin/snigdhaos-snapper"
|
|
||||||
START_INDEX=${START_INDEX:-1}
|
|
||||||
END_INDEX=${END_INDEX:-20}
|
|
||||||
|
|
||||||
# Ensure the log file exists
|
|
||||||
touch "$LOG_FILE"
|
|
||||||
|
|
||||||
# Log a message
|
|
||||||
log_message() {
|
|
||||||
echo "$(date +'%Y-%m-%d %H:%M:%S') - $1" >> "$LOG_FILE"
|
|
||||||
}
|
|
||||||
|
|
||||||
log_message "Script execution started."
|
|
||||||
|
|
||||||
# Check if snapper is installed
|
|
||||||
if [ -f "$SNAPPER_BIN" ]; then
|
|
||||||
log_message "Snapper binary found at $SNAPPER_BIN."
|
|
||||||
EXISTING_SNAPSHOTS=$($SNAPPER_BIN --no-dbus list | awk 'NR>1 {print $1}' | grep -E '^[0-9]+$')
|
|
||||||
|
|
||||||
# Iterate over snapshots or specified range
|
|
||||||
for i in $EXISTING_SNAPSHOTS; do
|
|
||||||
if [[ $i -ge $START_INDEX && $i -le $END_INDEX ]]; then
|
|
||||||
log_message "Attempting to delete snapshot ID: $i"
|
|
||||||
if $SNAPPER_BIN --no-dbus delete "$i" 2>>"$LOG_FILE"; then
|
|
||||||
log_message "Successfully deleted snapshot ID: $i"
|
|
||||||
else
|
|
||||||
log_message "Error deleting snapshot ID: $i"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
log_message "Snapper is not installed. Exiting."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove the custom script
|
|
||||||
if [ -f "$CUSTOM_SCRIPT" ]; then
|
|
||||||
rm -f "$CUSTOM_SCRIPT"
|
|
||||||
log_message "Removed custom script at $CUSTOM_SCRIPT."
|
|
||||||
else
|
|
||||||
log_message "Custom script not found at $CUSTOM_SCRIPT."
|
|
||||||
fi
|
|
||||||
|
|
||||||
log_message "Script execution completed."
|
|
@@ -1,2 +0,0 @@
|
|||||||
[Icon Theme]
|
|
||||||
Inherits=Adwaita
|
|
@@ -1,2 +0,0 @@
|
|||||||
arch-install-scripts
|
|
||||||
base
|
|
@@ -1,7 +0,0 @@
|
|||||||
title Snigdha OS LTS install medium (x86_64, UEFI, open source)
|
|
||||||
sort-key 01
|
|
||||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
options archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% driver=free cow_spacesize=4G copytoram=n nouveau.modeset=1 radeon.modeset=1 i915.modeset=1 nvme_load=yes
|
|
@@ -1,7 +0,0 @@
|
|||||||
title SNIGDHA OS LTS install medium (x86_64, UEFI, open source, no nouveau)
|
|
||||||
sort-key 02
|
|
||||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
options archisobasedir=%INSTALL_DIR% cow_spacesize=4G copytoram=n archisodevice=UUID=%ARCHISO_UUID% driver=freenonouveau radeon.modeset=1 i915.modeset=1 nvme_load=yes
|
|
@@ -1,7 +0,0 @@
|
|||||||
title SNIGDHA OS LTS install medium (x86_64, UEFI, NVIDIA)
|
|
||||||
sort-key 03
|
|
||||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
options archisobasedir=%INSTALL_DIR% cow_spacesize=4G copytoram=n archisodevice=UUID=%ARCHISO_UUID% driver=nonfree nouveau.modeset=0 radeon.modeset=1 i915.modeset=1 nvme_load=yes
|
|
@@ -1,7 +0,0 @@
|
|||||||
title SNIGDHA OS LTS install medium (x86_64, UEFI, NVIDIA, no nouveau)
|
|
||||||
sort-key 04
|
|
||||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
options archisobasedir=%INSTALL_DIR% cow_spacesize=4G copytoram=n archisodevice=UUID=%ARCHISO_UUID% driver=nonfreenonouveau radeon.modeset=1 i915.modeset=1 nvme_load=yes
|
|
@@ -1,7 +0,0 @@
|
|||||||
title SNIGDHA OS LTS install medium (x86_64, UEFI, safe graphics, nomodeset)
|
|
||||||
sort-key 05
|
|
||||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
|
||||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
options archisobasedir=%INSTALL_DIR% cow_spacesize=4G copytoram=n archisodevice=UUID=%ARCHISO_UUID% driver=free nomodeset nouveau.modeset=0 radeon.modeset=0 i915.modeset=0 nvme_load=yes
|
|
@@ -1,3 +0,0 @@
|
|||||||
timeout 15
|
|
||||||
default 01-archiso-x86_64-linux.conf
|
|
||||||
beep on
|
|
@@ -1,117 +0,0 @@
|
|||||||
# Load partition table and file system modules
|
|
||||||
insmod part_gpt
|
|
||||||
insmod part_msdos
|
|
||||||
insmod fat
|
|
||||||
insmod iso9660
|
|
||||||
insmod ntfs
|
|
||||||
insmod ntfscomp
|
|
||||||
insmod exfat
|
|
||||||
insmod udf
|
|
||||||
|
|
||||||
# Use graphics-mode output
|
|
||||||
if loadfont "${prefix}/fonts/unicode.pf2" ; then
|
|
||||||
insmod all_video
|
|
||||||
set gfxmode="auto"
|
|
||||||
terminal_input console
|
|
||||||
terminal_output console
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Enable serial console
|
|
||||||
insmod serial
|
|
||||||
insmod usbserial_common
|
|
||||||
insmod usbserial_ftdi
|
|
||||||
insmod usbserial_pl2303
|
|
||||||
insmod usbserial_usbdebug
|
|
||||||
if serial --unit=0 --speed=115200; then
|
|
||||||
terminal_input --append serial
|
|
||||||
terminal_output --append serial
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Search for the ISO volume
|
|
||||||
if [ -z "${ARCHISO_UUID}" ]; then
|
|
||||||
if [ -z "${ARCHISO_HINT}" ]; then
|
|
||||||
regexp --set=1:ARCHISO_HINT '^\(([^)]+)\)' "${cmdpath}"
|
|
||||||
fi
|
|
||||||
search --no-floppy --set=root --file '%ARCHISO_SEARCH_FILENAME%' --hint "${ARCHISO_HINT}"
|
|
||||||
probe --set ARCHISO_UUID --fs-uuid "${root}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Get a human readable platform identifier
|
|
||||||
if [ "${grub_platform}" == 'efi' ]; then
|
|
||||||
archiso_platform='UEFI'
|
|
||||||
if [ "${grub_cpu}" == 'x86_64' ]; then
|
|
||||||
archiso_platform="x64 ${archiso_platform}"
|
|
||||||
elif [ "${grub_cpu}" == 'i386' ]; then
|
|
||||||
archiso_platform="IA32 ${archiso_platform}"
|
|
||||||
else
|
|
||||||
archiso_platform="${grub_cpu} ${archiso_platform}"
|
|
||||||
fi
|
|
||||||
elif [ "${grub_platform}" == 'pc' ]; then
|
|
||||||
archiso_platform='BIOS'
|
|
||||||
else
|
|
||||||
archiso_platform="${grub_cpu} ${grub_platform}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set default menu entry
|
|
||||||
default=arcolinux
|
|
||||||
timeout=15
|
|
||||||
timeout_style=menu
|
|
||||||
|
|
||||||
|
|
||||||
# Menu entries
|
|
||||||
|
|
||||||
menuentry "Snigdha OS LTS install medium (%ARCH%, ${archiso_platform}, open source)" --class arch --class gnu-linux --class gnu --class os --id 'arcolinux' {
|
|
||||||
set gfxpayload=keep
|
|
||||||
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-lts archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} cow_spacesize=4G copytoram=n driver=free module_blacklist=nvidia,nvidea_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 radeon.modeset=1 i915.modeset=1 nvme_load=yes
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-lts.img
|
|
||||||
}
|
|
||||||
|
|
||||||
menuentry "Snigdha OS LTS install medium (%ARCH%, ${archiso_platform}, NVIDIA)" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'arcolinuxnv' {
|
|
||||||
set gfxpayload=keep
|
|
||||||
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-lts archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} cow_spacesize=4G copytoram=n driver=nonfree nvidia nvidia-drm.modeset=1 nouveau.modeset=0 radeon.modeset=1 i915.modeset=1 module_blacklist=pcspkr nvme_load=yes
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-lts.img
|
|
||||||
}
|
|
||||||
|
|
||||||
menuentry "Snigdha OS LTS install medium (%ARCH%, ${archiso_platform}, safe graphics, nomodeset)" --class arch --class gnu-linux --class gnu --class os --id 'arcolinuxnm' {
|
|
||||||
set gfxpayload=keep
|
|
||||||
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux-lts archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} cow_spacesize=4G copytoram=n driver=free nomodeset module_blacklist=nvidia,nvidea_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=0 radeon.modeset=0 i915.modeset=0 nvme_load=yes
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux-lts.img
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then
|
|
||||||
menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool {
|
|
||||||
set gfxpayload=800x600,1024x768
|
|
||||||
linux /boot/memtest86+/memtest.efi
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then
|
|
||||||
menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool {
|
|
||||||
set gfxpayload=800x600,1024x768
|
|
||||||
linux /boot/memtest86+/memtest
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
if [ "${grub_platform}" == 'efi' ]; then
|
|
||||||
if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then
|
|
||||||
menuentry 'UEFI Shell' --class efi {
|
|
||||||
chainloader /shellx64.efi
|
|
||||||
}
|
|
||||||
elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then
|
|
||||||
menuentry 'UEFI Shell' --class efi {
|
|
||||||
chainloader /shellia32.efi
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' {
|
|
||||||
fwsetup
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
menuentry "System restart" --class reboot --class restart {
|
|
||||||
echo "System rebooting..."
|
|
||||||
reboot
|
|
||||||
}
|
|
||||||
|
|
||||||
menuentry "System shutdown" --class shutdown --class poweroff {
|
|
||||||
echo "System shutting down..."
|
|
||||||
halt
|
|
||||||
}
|
|
@@ -1,80 +0,0 @@
|
|||||||
# https://www.supergrubdisk.org/wiki/Loopback.cfg
|
|
||||||
|
|
||||||
# Search for the ISO volume
|
|
||||||
search --no-floppy --set=archiso_img_dev --file "${iso_path}"
|
|
||||||
probe --set archiso_img_dev_uuid --fs-uuid "${archiso_img_dev}"
|
|
||||||
|
|
||||||
# Get a human readable platform identifier
|
|
||||||
if [ "${grub_platform}" == 'efi' ]; then
|
|
||||||
archiso_platform='UEFI'
|
|
||||||
if [ "${grub_cpu}" == 'x86_64' ]; then
|
|
||||||
archiso_platform="x64 ${archiso_platform}"
|
|
||||||
elif [ "${grub_cpu}" == 'i386' ]; then
|
|
||||||
archiso_platform="IA32 ${archiso_platform}"
|
|
||||||
else
|
|
||||||
archiso_platform="${grub_cpu} ${archiso_platform}"
|
|
||||||
fi
|
|
||||||
elif [ "${grub_platform}" == 'pc' ]; then
|
|
||||||
archiso_platform='BIOS'
|
|
||||||
else
|
|
||||||
archiso_platform="${grub_cpu} ${grub_platform}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set default menu entry
|
|
||||||
default=archlinux
|
|
||||||
timeout=15
|
|
||||||
timeout_style=menu
|
|
||||||
|
|
||||||
|
|
||||||
# Menu entries
|
|
||||||
|
|
||||||
menuentry "Arch Linux install medium (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' {
|
|
||||||
set gfxpayload=keep
|
|
||||||
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}"
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
|
||||||
}
|
|
||||||
|
|
||||||
menuentry "Arch Linux install medium with speakup screen reader (%ARCH%, ${archiso_platform})" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'archlinux-accessibility' {
|
|
||||||
set gfxpayload=keep
|
|
||||||
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" accessibility=on
|
|
||||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then
|
|
||||||
menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool {
|
|
||||||
set gfxpayload=800x600,1024x768
|
|
||||||
linux /boot/memtest86+/memtest.efi
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
if [ "${grub_platform}" == 'pc' -a -f '/boot/memtest86+/memtest' ]; then
|
|
||||||
menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool {
|
|
||||||
set gfxpayload=800x600,1024x768
|
|
||||||
linux /boot/memtest86+/memtest
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
if [ "${grub_platform}" == 'efi' ]; then
|
|
||||||
if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then
|
|
||||||
menuentry 'UEFI Shell' --class efi {
|
|
||||||
chainloader /shellx64.efi
|
|
||||||
}
|
|
||||||
elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then
|
|
||||||
menuentry 'UEFI Shell' --class efi {
|
|
||||||
chainloader /shellia32.efi
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' {
|
|
||||||
fwsetup
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
menuentry 'System shutdown' --class shutdown --class poweroff {
|
|
||||||
echo 'System shutting down...'
|
|
||||||
halt
|
|
||||||
}
|
|
||||||
|
|
||||||
menuentry 'System restart' --class reboot --class restart {
|
|
||||||
echo 'System rebooting...'
|
|
||||||
reboot
|
|
||||||
}
|
|
@@ -1,36 +0,0 @@
|
|||||||
base
|
|
||||||
linux
|
|
||||||
linux-firmware
|
|
||||||
mkinitcpio
|
|
||||||
mkinitcpio-archiso
|
|
||||||
arch-install-scripts
|
|
||||||
grub
|
|
||||||
dhclient
|
|
||||||
dhcpcd
|
|
||||||
parted
|
|
||||||
gpart
|
|
||||||
btrfs-progs
|
|
||||||
dosfstools
|
|
||||||
e2fsprogs
|
|
||||||
ntfs-3g
|
|
||||||
lvm2
|
|
||||||
sudo
|
|
||||||
man-db
|
|
||||||
man-pages
|
|
||||||
vim
|
|
||||||
rsync
|
|
||||||
reflector
|
|
||||||
efibootmgr
|
|
||||||
syslinux
|
|
||||||
systemd-resolvconf
|
|
||||||
usbutils
|
|
||||||
lsscsi
|
|
||||||
dmidecode
|
|
||||||
hdparm
|
|
||||||
smartmontools
|
|
||||||
coreutils
|
|
||||||
diffutils
|
|
||||||
file
|
|
||||||
findutils
|
|
||||||
tar
|
|
||||||
gzip
|
|
@@ -1,101 +0,0 @@
|
|||||||
#
|
|
||||||
# /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
|
|
||||||
#NoProgressBar
|
|
||||||
# We cannot check disk space from within a chroot environment
|
|
||||||
#CheckSpace
|
|
||||||
#VerbosePkgLists
|
|
||||||
ParallelDownloads = 5
|
|
||||||
#DownloadUser = alpm
|
|
||||||
#DisableSandbox
|
|
||||||
ILoveCandy
|
|
||||||
|
|
||||||
# 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
|
|
@@ -1,27 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# shellcheck disable=SC2034
|
|
||||||
|
|
||||||
iso_name="archlinux"
|
|
||||||
iso_label="ARCH_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
|
||||||
iso_publisher="Arch Linux <https://archlinux.org>"
|
|
||||||
iso_application="Arch Linux Live/Rescue DVD"
|
|
||||||
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
|
||||||
install_dir="arch"
|
|
||||||
buildmodes=('iso')
|
|
||||||
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
|
|
||||||
'uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp'
|
|
||||||
'uefi-ia32.systemd-boot.eltorito' 'uefi-x64.systemd-boot.eltorito')
|
|
||||||
arch="x86_64"
|
|
||||||
pacman_conf="pacman.conf"
|
|
||||||
airootfs_image_type="squashfs"
|
|
||||||
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
|
|
||||||
bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19')
|
|
||||||
file_permissions=(
|
|
||||||
["/etc/shadow"]="0:0:400"
|
|
||||||
["/root"]="0:0:750"
|
|
||||||
["/root/.automated_script.sh"]="0:0:755"
|
|
||||||
["/root/.gnupg"]="0:0:700"
|
|
||||||
["/usr/local/bin/choose-mirror"]="0:0:755"
|
|
||||||
["/usr/local/bin/Installation_guide"]="0:0:755"
|
|
||||||
["/usr/local/bin/livecd-sound"]="0:0:755"
|
|
||||||
)
|
|
@@ -1,28 +0,0 @@
|
|||||||
SERIAL 0 115200
|
|
||||||
UI vesamenu.c32
|
|
||||||
MENU TITLE Snigdha OS
|
|
||||||
MENU BACKGROUND splash.png
|
|
||||||
|
|
||||||
MENU WIDTH 78
|
|
||||||
MENU MARGIN 4
|
|
||||||
MENU ROWS 7
|
|
||||||
MENU VSHIFT 10
|
|
||||||
MENU TABMSGROW 14
|
|
||||||
MENU CMDLINEROW 14
|
|
||||||
MENU HELPMSGROW 16
|
|
||||||
MENU HELPMSGENDROW 29
|
|
||||||
|
|
||||||
# Refer to https://wiki.syslinux.org/wiki/index.php/Comboot/menu.c32
|
|
||||||
|
|
||||||
MENU COLOR border 30;44 #40ffffff #a0000000 std
|
|
||||||
MENU COLOR title 1;36;44 #9033ccff #a0000000 std
|
|
||||||
MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
|
|
||||||
MENU COLOR unsel 37;44 #50ffffff #a0000000 std
|
|
||||||
MENU COLOR help 37;40 #c0ffffff #a0000000 std
|
|
||||||
MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
|
|
||||||
MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
|
|
||||||
MENU COLOR msg07 37;40 #90ffffff #a0000000 std
|
|
||||||
MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
|
|
||||||
|
|
||||||
MENU CLEAR
|
|
||||||
MENU IMMEDIATE
|
|
@@ -1,32 +0,0 @@
|
|||||||
LABEL arch64_nbd
|
|
||||||
TEXT HELP
|
|
||||||
Boot the Snigdha OS LTS install medium using NBD.
|
|
||||||
It allows you to install Snigdha OS LTS or perform system maintenance.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Snigdha OS LTS install medium (x86_64, NBD)
|
|
||||||
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
INITRD ::/%INSTALL_DIR%/boot/intel-ucode.img,::/%INSTALL_DIR%/boot/amd-ucode.img,::/%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
APPEND archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y
|
|
||||||
SYSAPPEND 3
|
|
||||||
|
|
||||||
LABEL arch64_nfs
|
|
||||||
TEXT HELP
|
|
||||||
Boot the Snigdha OS LTS live medium using NFS.
|
|
||||||
It allows you to install Snigdha OS LTS or perform system maintenance.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Snigdha OS LTS install medium (x86_64, NFS)
|
|
||||||
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
INITRD ::/%INSTALL_DIR%/boot/intel-ucode.img,::/%INSTALL_DIR%/boot/amd-ucode.img,::/%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt cms_verify=y
|
|
||||||
SYSAPPEND 3
|
|
||||||
|
|
||||||
LABEL arch64_http
|
|
||||||
TEXT HELP
|
|
||||||
Boot the Snigdha OS LTS live medium using HTTP.
|
|
||||||
It allows you to install Snigdha OS LTS or perform system maintenance.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Snigdha OS LTS install medium (x86_64, HTTP)
|
|
||||||
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
INITRD ::/%INSTALL_DIR%/boot/intel-ucode.img,::/%INSTALL_DIR%/boot/amd-ucode.img,::/%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ cms_verify=y
|
|
||||||
SYSAPPEND 3
|
|
@@ -1,5 +0,0 @@
|
|||||||
INCLUDE archiso_head.cfg
|
|
||||||
|
|
||||||
INCLUDE archiso_pxe-linux.cfg
|
|
||||||
|
|
||||||
INCLUDE archiso_tail.cfg
|
|
@@ -1,29 +0,0 @@
|
|||||||
LABEL arch64 free
|
|
||||||
TEXT HELP
|
|
||||||
Boot the Snigdha OS LTS install medium on BIOS.
|
|
||||||
It allows you to install Snigdha OS LTS or perform system maintenance.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Boot Snigdha OS LTS (x86_64, BIOS, open source)
|
|
||||||
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
APPEND archisobasedir=%INSTALL_DIR% cow_spacesize=4G copytoram=n archisodevice=UUID=%ARCHISO_UUID% driver=free module_blacklist=nvidia,nvidea_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 radeon.modeset=1 i915.modeset=1 nvme_load=yes
|
|
||||||
|
|
||||||
LABEL arch64 nonfree
|
|
||||||
TEXT HELP
|
|
||||||
Boot the Snigdha OS LTS install medium on BIOS with proprietary drivers (NVIDIA).
|
|
||||||
It allows you to install Snigdha OS LTS or perform system maintenance.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Boot Snigdha OS LTS (x86_64, BIOS, NVIDIA)
|
|
||||||
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
APPEND archisobasedir=%INSTALL_DIR% cow_spacesize=4G copytoram=n archisodevice=UUID=%ARCHISO_UUID% driver=nonfree nvidia nvidia-drm.modeset=1 nouveau.modeset=0 radeon.modeset=1 i915.modeset=1 module_blacklist=pcspkr nvme_load=yes
|
|
||||||
|
|
||||||
LABEL arch64 nomodeset
|
|
||||||
TEXT HELP
|
|
||||||
Boot the Snigdha OS LTS install medium on BIOS with nomodeset.
|
|
||||||
It allows you to install Snigdha OS LTS or perform system maintenance.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Boot Snigdha OS LTS (x86_64, BIOS, nomodeset)
|
|
||||||
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-lts
|
|
||||||
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-lts.img
|
|
||||||
APPEND archisobasedir=%INSTALL_DIR% cow_spacesize=4G copytoram=n archisodevice=UUID=%ARCHISO_UUID% driver=free nomodeset module_blacklist=nvidia,nvidea_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=0 radeon.modeset=0 i915.modeset=0 nvme_load=yes
|
|
@@ -1,8 +0,0 @@
|
|||||||
INCLUDE archiso_head.cfg
|
|
||||||
|
|
||||||
DEFAULT arch64
|
|
||||||
TIMEOUT 150
|
|
||||||
|
|
||||||
INCLUDE archiso_sys-linux.cfg
|
|
||||||
|
|
||||||
INCLUDE archiso_tail.cfg
|
|
@@ -1,35 +0,0 @@
|
|||||||
LABEL existing
|
|
||||||
TEXT HELP
|
|
||||||
Boot an existing operating system.
|
|
||||||
Press TAB to edit the disk and partition number to boot.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Boot existing OS
|
|
||||||
COM32 chain.c32
|
|
||||||
APPEND hd0 0
|
|
||||||
|
|
||||||
# https://www.memtest.org/
|
|
||||||
LABEL memtest
|
|
||||||
MENU LABEL Run Memtest86+ (RAM test)
|
|
||||||
LINUX /boot/memtest86+/memtest
|
|
||||||
|
|
||||||
# https://wiki.syslinux.org/wiki/index.php/Hdt_(Hardware_Detection_Tool)
|
|
||||||
LABEL hdt
|
|
||||||
MENU LABEL Hardware Information (HDT)
|
|
||||||
COM32 hdt.c32
|
|
||||||
APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz
|
|
||||||
|
|
||||||
LABEL reboot
|
|
||||||
TEXT HELP
|
|
||||||
Reboot computer.
|
|
||||||
The computer's firmware must support APM.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Reboot
|
|
||||||
COM32 reboot.c32
|
|
||||||
|
|
||||||
LABEL poweroff
|
|
||||||
TEXT HELP
|
|
||||||
Power off computer.
|
|
||||||
The computer's firmware must support APM.
|
|
||||||
ENDTEXT
|
|
||||||
MENU LABEL Power Off
|
|
||||||
COM32 poweroff.c32
|
|
Binary file not shown.
Before Width: | Height: | Size: 44 KiB |
@@ -1,11 +0,0 @@
|
|||||||
DEFAULT select
|
|
||||||
|
|
||||||
LABEL select
|
|
||||||
COM32 whichsys.c32
|
|
||||||
APPEND -pxe- pxe -sys- sys -iso- sys
|
|
||||||
|
|
||||||
LABEL pxe
|
|
||||||
CONFIG archiso_pxe.cfg
|
|
||||||
|
|
||||||
LABEL sys
|
|
||||||
CONFIG archiso_sys.cfg
|
|
81
config.sh
Executable file
81
config.sh
Executable file
@@ -0,0 +1,81 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Author: Eshan Roy <eshan@snigdhaos.org>
|
||||||
|
# Author URI: https://eshanized.github.io
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Function to display usage instructions
|
||||||
|
usage() {
|
||||||
|
cat <<EOF
|
||||||
|
Usage: ${0##*/} [--email <email>] [--username <username>] [-h]
|
||||||
|
|
||||||
|
Options:
|
||||||
|
--email <email> Set the GitHub user email.
|
||||||
|
--username <username> Set the GitHub username.
|
||||||
|
-h, --help Display this help message.
|
||||||
|
|
||||||
|
Description:
|
||||||
|
This script configures your GitHub user.email and user.name settings globally.
|
||||||
|
If no arguments are provided, it will prompt for input interactively.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
${0##*/} --email user@example.com --username "Eshan Roy"
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
# Parse command-line arguments
|
||||||
|
while [[ "$#" -gt 0 ]]; do
|
||||||
|
case "$1" in
|
||||||
|
--email)
|
||||||
|
EMAIL="$2"
|
||||||
|
shift 2
|
||||||
|
;;
|
||||||
|
--username)
|
||||||
|
USERNAME="$2"
|
||||||
|
shift 2
|
||||||
|
;;
|
||||||
|
-h|--help)
|
||||||
|
usage
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unknown argument: $1"
|
||||||
|
usage
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
# Prompt for email if not provided
|
||||||
|
if [[ -z "${EMAIL:-}" ]]; then
|
||||||
|
read -p "Enter your GitHub Email: " EMAIL
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Prompt for username if not provided
|
||||||
|
if [[ -z "${USERNAME:-}" ]]; then
|
||||||
|
read -p "Enter your GitHub Username: " USERNAME
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Validate email format
|
||||||
|
if ! [[ "$EMAIL" =~ ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ ]]; then
|
||||||
|
echo "Error: Invalid email format: $EMAIL"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Validate username (allowing alphanumerics, dashes, underscores, and dots)
|
||||||
|
if ! [[ "$USERNAME" =~ ^[a-zA-Z0-9._-]+$ ]]; then
|
||||||
|
echo "Error: Invalid username format: $USERNAME"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Configure GitHub global settings
|
||||||
|
git config --global user.email "$EMAIL"
|
||||||
|
git config --global user.name "$USERNAME"
|
||||||
|
|
||||||
|
# Display success message
|
||||||
|
echo -e "\033[1;32mGitHub configuration setup successful!\033[0m"
|
||||||
|
echo " User Email: $EMAIL"
|
||||||
|
echo " Username: $USERNAME"
|
||||||
|
echo -e "\033[1;36mYou can verify this configuration using the following commands:\033[0m"
|
||||||
|
echo " git config --global user.email"
|
||||||
|
echo " git config --global user.name"
|
Reference in New Issue
Block a user