From ad35da5bb635b8b3730f488cfa668f147381b559 Mon Sep 17 00:00:00 2001 From: eshanized Date: Mon, 30 Dec 2024 03:41:49 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20refactor(default):=20snigdha=20o?= =?UTF-8?q?s=20default=20preset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{linux.preset => linux-lts.preset} | 0 .../polkit-1/rules.d/49-nopasswd_global.rules | 9 + archiso/airootfs/etc/skel/.bashrc | 431 ++++++++++++++++++ archiso/airootfs/etc/sudoers.d/g_wheel | 1 + archiso/airootfs/etc/systemd/journald.conf | 47 -- .../ipv6-privacy-extensions.conf | 2 + .../bluetooth.target.wants/bluetooth.service | 1 + .../etc/systemd/system/choose-mirror.service | 10 - .../cloud-config.service | 1 - .../cloud-final.service | 1 - .../cloud-init-local.service | 1 - .../cloud-init-main.service | 1 - .../cloud-init-network.service | 1 - .../etc/systemd/system/dbus-org.bluez.service | 1 + .../system/dbus-org.freedesktop.Avahi.service | 1 + ...dbus-org.freedesktop.ModemManager1.service | 1 - .../dbus-org.freedesktop.network1.service | 1 - ...dbus-org.freedesktop.nm-dispatcher.service | 1 + .../dbus-org.freedesktop.resolve1.service | 1 - .../etc/systemd/system/default.target | 1 + .../systemd/system/display-manager.service | 1 + .../systemd/system/etc-pacman.d-gnupg.mount | 8 - .../system/livecd-alsa-unmuter.service | 13 - .../etc/systemd/system/livecd-talk.service | 20 - .../ModemManager.service | 1 - .../NetworkManager.service | 1 + .../avahi-daemon.service | 1 + .../choose-mirror.service | 1 - .../system/multi-user.target.wants/cups.path | 1 + .../hv_fcopy_daemon.service | 1 - .../hv_kvp_daemon.service | 1 - .../hv_vss_daemon.service | 1 - .../multi-user.target.wants/iwd.service | 1 - .../livecd-talk.service | 1 - .../multi-user.target.wants/ntpd.service | 1 + .../pacman-init.service | 1 - .../multi-user.target.wants/reflector.service | 1 - .../snigdhaos-graphical-target.service | 1 + .../multi-user.target.wants/sshd.service | 1 - .../systemd-networkd.service | 1 - .../systemd-resolved.service | 1 - .../NetworkManager-wait-online.service | 1 + .../systemd-networkd-wait-online.service | 1 - .../etc/systemd/system/pacman-init.service | 15 - .../system/printer.target.wants/cups.service | 1 + .../system/reflector.service.d/archiso.conf | 6 - .../sockets.target.wants/avahi-daemon.socket | 1 + .../system/sockets.target.wants/cups.socket | 1 + .../system/sockets.target.wants/pcscd.socket | 1 - .../systemd-networkd.socket | 1 - .../livecd-alsa-unmuter.service | 1 - .../systemd-time-wait-sync.service | 1 - .../wait-for-only-one-interface.conf | 6 - .../system/timers.target.wants/fstrim.timer | 1 + 54 files changed, 459 insertions(+), 150 deletions(-) rename archiso/airootfs/etc/mkinitcpio.d/{linux.preset => linux-lts.preset} (100%) create mode 100644 archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules create mode 100644 archiso/airootfs/etc/skel/.bashrc create mode 100644 archiso/airootfs/etc/sudoers.d/g_wheel delete mode 100644 archiso/airootfs/etc/systemd/journald.conf create mode 100644 archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf create mode 120000 archiso/airootfs/etc/systemd/system/bluetooth.target.wants/bluetooth.service delete mode 100644 archiso/airootfs/etc/systemd/system/choose-mirror.service delete mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service delete mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service delete mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service delete mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service delete mode 120000 archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service create mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.bluez.service create mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.Avahi.service delete mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service delete mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service create mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service delete mode 120000 archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service create mode 120000 archiso/airootfs/etc/systemd/system/default.target create mode 120000 archiso/airootfs/etc/systemd/system/display-manager.service delete mode 100644 archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount delete mode 100644 archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service delete mode 100644 archiso/airootfs/etc/systemd/system/livecd-talk.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/avahi-daemon.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/cups.path delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/ntpd.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service create mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/snigdhaos-graphical-target.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service delete mode 120000 archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service create mode 120000 archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service delete mode 120000 archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service delete mode 100644 archiso/airootfs/etc/systemd/system/pacman-init.service create mode 120000 archiso/airootfs/etc/systemd/system/printer.target.wants/cups.service delete mode 100644 archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf create mode 120000 archiso/airootfs/etc/systemd/system/sockets.target.wants/avahi-daemon.socket create mode 120000 archiso/airootfs/etc/systemd/system/sockets.target.wants/cups.socket delete mode 120000 archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket delete mode 120000 archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket delete mode 120000 archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service delete mode 120000 archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service delete mode 100644 archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf create mode 120000 archiso/airootfs/etc/systemd/system/timers.target.wants/fstrim.timer diff --git a/archiso/airootfs/etc/mkinitcpio.d/linux.preset b/archiso/airootfs/etc/mkinitcpio.d/linux-lts.preset similarity index 100% rename from archiso/airootfs/etc/mkinitcpio.d/linux.preset rename to archiso/airootfs/etc/mkinitcpio.d/linux-lts.preset diff --git a/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules b/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules new file mode 100644 index 0000000..afc8670 --- /dev/null +++ b/archiso/airootfs/etc/polkit-1/rules.d/49-nopasswd_global.rules @@ -0,0 +1,9 @@ +/* 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; + } +}); + diff --git a/archiso/airootfs/etc/skel/.bashrc b/archiso/airootfs/etc/skel/.bashrc new file mode 100644 index 0000000..0bb8b32 --- /dev/null +++ b/archiso/airootfs/etc/skel/.bashrc @@ -0,0 +1,431 @@ +### 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 +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 diff --git a/archiso/airootfs/etc/sudoers.d/g_wheel b/archiso/airootfs/etc/sudoers.d/g_wheel new file mode 100644 index 0000000..bbad988 --- /dev/null +++ b/archiso/airootfs/etc/sudoers.d/g_wheel @@ -0,0 +1 @@ +%wheel ALL=(ALL:ALL) NOPASSWD: ALL diff --git a/archiso/airootfs/etc/systemd/journald.conf b/archiso/airootfs/etc/systemd/journald.conf deleted file mode 100644 index a23c12f..0000000 --- a/archiso/airootfs/etc/systemd/journald.conf +++ /dev/null @@ -1,47 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it under the -# terms of the GNU Lesser General Public License as published by the Free -# Software Foundation; either version 2.1 of the License, or (at your option) -# any later version. -# -# Entries in this file show the compile time defaults. Local configuration -# should be created by either modifying this file, or by creating "drop-ins" in -# the journald.conf.d/ subdirectory. The latter is generally recommended. -# Defaults can be restored by simply deleting this file and all drop-ins. -# -# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config. -# -# See journald.conf(5) for details. - -[Journal] -Storage=volatile -#Compress=yes -#Seal=yes -#SplitMode=uid -#SyncIntervalSec=5m -#RateLimitIntervalSec=30s -#RateLimitBurst=10000 -#SystemMaxUse= -#SystemKeepFree= -#SystemMaxFileSize= -#SystemMaxFiles=100 -#RuntimeMaxUse= -#RuntimeKeepFree= -#RuntimeMaxFileSize= -#RuntimeMaxFiles=100 -#MaxRetentionSec= -#MaxFileSec=1month -#ForwardToSyslog=no -#ForwardToKMsg=no -#ForwardToConsole=no -#ForwardToWall=yes -#TTYPath=/dev/console -#MaxLevelStore=debug -#MaxLevelSyslog=debug -#MaxLevelKMsg=notice -#MaxLevelConsole=info -#MaxLevelWall=emerg -#LineMax=48K -#ReadKMsg=yes -#Audit=yes \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf b/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf new file mode 100644 index 0000000..0e9ceb4 --- /dev/null +++ b/archiso/airootfs/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf @@ -0,0 +1,2 @@ +[Network] +IPv6PrivacyExtensions=yes diff --git a/archiso/airootfs/etc/systemd/system/bluetooth.target.wants/bluetooth.service b/archiso/airootfs/etc/systemd/system/bluetooth.target.wants/bluetooth.service new file mode 120000 index 0000000..d256bfe --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/bluetooth.target.wants/bluetooth.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/bluetooth.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/choose-mirror.service b/archiso/airootfs/etc/systemd/system/choose-mirror.service deleted file mode 100644 index b6a3562..0000000 --- a/archiso/airootfs/etc/systemd/system/choose-mirror.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Choose mirror from the kernel command line -ConditionKernelCommandLine=mirror - -[Service] -Type=oneshot -ExecStart=/usr/local/bin/choose-mirror - -[Install] -WantedBy=multi-user.target diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service deleted file mode 120000 index ebc50f0..0000000 --- a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-config.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-config.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service deleted file mode 120000 index 80fa3c8..0000000 --- a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-final.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-final.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service deleted file mode 120000 index dd8e9f1..0000000 --- a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-local.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-init-local.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service deleted file mode 120000 index 875ff73..0000000 --- a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-main.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-init-main.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service b/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service deleted file mode 120000 index ae77734..0000000 --- a/archiso/airootfs/etc/systemd/system/cloud-init.target.wants/cloud-init-network.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/cloud-init-network.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.bluez.service b/archiso/airootfs/etc/systemd/system/dbus-org.bluez.service new file mode 120000 index 0000000..d256bfe --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/dbus-org.bluez.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/bluetooth.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.Avahi.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.Avahi.service new file mode 120000 index 0000000..e7ae405 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.Avahi.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/avahi-daemon.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service deleted file mode 120000 index dcf7c8e..0000000 --- a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/ModemManager.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service deleted file mode 120000 index 4c158e6..0000000 --- a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.network1.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-networkd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service new file mode 120000 index 0000000..a7e5cd4 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager-dispatcher.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service b/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service deleted file mode 120000 index 4f6ae34..0000000 --- a/archiso/airootfs/etc/systemd/system/dbus-org.freedesktop.resolve1.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-resolved.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/default.target b/archiso/airootfs/etc/systemd/system/default.target new file mode 120000 index 0000000..cf9fa51 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/default.target @@ -0,0 +1 @@ +/usr/lib/systemd/system/graphical.target \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/display-manager.service b/archiso/airootfs/etc/systemd/system/display-manager.service new file mode 120000 index 0000000..56f1df2 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/display-manager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/sddm.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount deleted file mode 100644 index 038961e..0000000 --- a/archiso/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Temporary /etc/pacman.d/gnupg directory - -[Mount] -What=tmpfs -Where=/etc/pacman.d/gnupg -Type=tmpfs -Options=mode=0755,noswap diff --git a/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service b/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service deleted file mode 100644 index 03db4b9..0000000 --- a/archiso/airootfs/etc/systemd/system/livecd-alsa-unmuter.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Unmute All Sound Card Controls For Use With The Live Arch Environment -# This needs to run after the audio device becomes available. -Wants=systemd-udev-settle.service -After=systemd-udev-settle.service sound.target -ConditionKernelCommandLine=accessibility=on - -[Service] -Type=oneshot -ExecStart=/usr/local/bin/livecd-sound -u - -[Install] -WantedBy=sound.target diff --git a/archiso/airootfs/etc/systemd/system/livecd-talk.service b/archiso/airootfs/etc/systemd/system/livecd-talk.service deleted file mode 100644 index b38df22..0000000 --- a/archiso/airootfs/etc/systemd/system/livecd-talk.service +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description=Screen reader service -After=livecd-alsa-unmuter.service -Before=getty@tty1.service -ConditionKernelCommandLine=accessibility=on - -[Service] -Type=oneshot -TTYPath=/dev/tty13 -ExecStartPre=/usr/bin/chvt 13 -ExecStart=/usr/local/bin/livecd-sound -p -ExecStartPost=/usr/bin/chvt 1 -ExecStartPost=systemctl start espeakup.service -StandardInput=tty -TTYVHangup=yes -TTYVTDisallocate=yes -RemainAfterExit=true - -[Install] -WantedBy=multi-user.target diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service deleted file mode 120000 index dcf7c8e..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ModemManager.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/ModemManager.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service new file mode 120000 index 0000000..e874a9b --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/NetworkManager.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/avahi-daemon.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/avahi-daemon.service new file mode 120000 index 0000000..e7ae405 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/avahi-daemon.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/avahi-daemon.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service deleted file mode 120000 index 2d8d256..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/choose-mirror.service +++ /dev/null @@ -1 +0,0 @@ -../choose-mirror.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/cups.path b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/cups.path new file mode 120000 index 0000000..53324dc --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/cups.path @@ -0,0 +1 @@ +/usr/lib/systemd/system/cups.path \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service deleted file mode 120000 index 20ac7b2..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_fcopy_daemon.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/hv_fcopy_daemon.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service deleted file mode 120000 index a7eac4a..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_kvp_daemon.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/hv_kvp_daemon.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service deleted file mode 120000 index eae19ef..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/hv_vss_daemon.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/hv_vss_daemon.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service deleted file mode 120000 index 3625abd..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/iwd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service deleted file mode 120000 index b917481..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/livecd-talk.service +++ /dev/null @@ -1 +0,0 @@ -/etc/systemd/system/livecd-talk.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ntpd.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ntpd.service new file mode 120000 index 0000000..d3bfc72 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/ntpd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/ntpd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service deleted file mode 120000 index d09eec6..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/pacman-init.service +++ /dev/null @@ -1 +0,0 @@ -../pacman-init.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service deleted file mode 120000 index d372729..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/reflector.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/reflector.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/snigdhaos-graphical-target.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/snigdhaos-graphical-target.service new file mode 120000 index 0000000..a3dbb96 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/snigdhaos-graphical-target.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/arcolinux-graphical-target.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service deleted file mode 120000 index d21ebd9..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/sshd.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/sshd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service deleted file mode 120000 index 4c158e6..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-networkd.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-networkd.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service b/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service deleted file mode 120000 index 4f6ae34..0000000 --- a/archiso/airootfs/etc/systemd/system/multi-user.target.wants/systemd-resolved.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-resolved.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service b/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service new file mode 120000 index 0000000..b78b586 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/NetworkManager-wait-online.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service b/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service deleted file mode 120000 index 7d6ad92..0000000 --- a/archiso/airootfs/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-networkd-wait-online.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/pacman-init.service b/archiso/airootfs/etc/systemd/system/pacman-init.service deleted file mode 100644 index b824884..0000000 --- a/archiso/airootfs/etc/systemd/system/pacman-init.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Initializes Pacman keyring -Requires=etc-pacman.d-gnupg.mount -After=etc-pacman.d-gnupg.mount time-sync.target -BindsTo=etc-pacman.d-gnupg.mount -Before=archlinux-keyring-wkd-sync.service - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/pacman-key --init -ExecStart=/usr/bin/pacman-key --populate - -[Install] -WantedBy=multi-user.target diff --git a/archiso/airootfs/etc/systemd/system/printer.target.wants/cups.service b/archiso/airootfs/etc/systemd/system/printer.target.wants/cups.service new file mode 120000 index 0000000..a9ef506 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/printer.target.wants/cups.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/cups.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf b/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf deleted file mode 100644 index de6664d..0000000 --- a/archiso/airootfs/etc/systemd/system/reflector.service.d/archiso.conf +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -ConditionKernelCommandLine=!mirror - -[Service] -Restart=on-failure -RestartSec=10 diff --git a/archiso/airootfs/etc/systemd/system/sockets.target.wants/avahi-daemon.socket b/archiso/airootfs/etc/systemd/system/sockets.target.wants/avahi-daemon.socket new file mode 120000 index 0000000..045b23d --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/sockets.target.wants/avahi-daemon.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/avahi-daemon.socket \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/sockets.target.wants/cups.socket b/archiso/airootfs/etc/systemd/system/sockets.target.wants/cups.socket new file mode 120000 index 0000000..8015ac2 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/sockets.target.wants/cups.socket @@ -0,0 +1 @@ +/usr/lib/systemd/system/cups.socket \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket b/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket deleted file mode 120000 index 3897c63..0000000 --- a/archiso/airootfs/etc/systemd/system/sockets.target.wants/pcscd.socket +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/pcscd.socket \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket b/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket deleted file mode 120000 index 51942c8..0000000 --- a/archiso/airootfs/etc/systemd/system/sockets.target.wants/systemd-networkd.socket +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-networkd.socket \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service b/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service deleted file mode 120000 index 98c0fc8..0000000 --- a/archiso/airootfs/etc/systemd/system/sound.target.wants/livecd-alsa-unmuter.service +++ /dev/null @@ -1 +0,0 @@ -../livecd-alsa-unmuter.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service b/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service deleted file mode 120000 index cabf28b..0000000 --- a/archiso/airootfs/etc/systemd/system/sysinit.target.wants/systemd-time-wait-sync.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/system/systemd-time-wait-sync.service \ No newline at end of file diff --git a/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf deleted file mode 100644 index c9f9bce..0000000 --- a/archiso/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Allow systemd-networkd-wait-online to succeed with one interface, otherwise, if multiple network interfaces exist, -# network-online.target gets needlessly delayed. -# See https://wiki.archlinux.org/title/systemd-networkd#systemd-networkd-wait-online -[Service] -ExecStart= -ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any diff --git a/archiso/airootfs/etc/systemd/system/timers.target.wants/fstrim.timer b/archiso/airootfs/etc/systemd/system/timers.target.wants/fstrim.timer new file mode 120000 index 0000000..06b7de8 --- /dev/null +++ b/archiso/airootfs/etc/systemd/system/timers.target.wants/fstrim.timer @@ -0,0 +1 @@ +/usr/lib/systemd/system/fstrim.timer \ No newline at end of file