X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/53c67a14f5025b998190de766c6354e2b890319c..8d294f80caecd05d475d8381ecddd942a8f6c83f:/rc.org diff --git a/rc.org b/rc.org index 06e419c..f4dcf38 100644 --- a/rc.org +++ b/rc.org @@ -822,6 +822,31 @@ Channel uwaterloo Master :uwaterloo-remote: Slave :uwaterloo-local: Patterns * + +###### +IMAPAccount csclub +Host mail.csclub.uwaterloo.ca +User abandali +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/csclub.gpg" +SSLType IMAPS + +IMAPStore csclub-remote +Account csclub + +IMAPAccount csclub-dovecot +Host 127.0.0.1 +Port 143 +User abandali@csclub.uw +PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/csclub-dovecot.gpg" +SSLType None + +IMAPStore csclub-local +Account csclub-dovecot + +Channel csclub +Master :csclub-remote: +Slave :csclub-local: +Patterns * #+end_src *** mbsync.service @@ -1434,6 +1459,15 @@ user abandali passwordeval gpg2 --no-tty -q -d ~/.passwd/uwaterloo.gpg tls_trust_file /etc/ssl/certs/ca-certificates.crt +# csclub +account csclub +host mail.csclub.uwaterloo.ca +tls_starttls on +from abandali@csclub.uwaterloo.ca +user abandali +passwordeval gpg2 --no-tty -q -d ~/.passwd/csclub.gpg +tls_trust_file /etc/ssl/certs/ca-certificates.crt + # Set a default account account default : aminb #+end_src @@ -2238,6 +2272,226 @@ Unit=notmuch.service WantedBy=timers.target #+end_src +** pacman + +*** conf + +#+begin_src conf :tangle /sudo::/etc/pacman.conf :comments none +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -L -C - -f -o %o %u +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +#UseDelta = 0.7 +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +Color +TotalDownload +CheckSpace +VerbosePkgLists + +# 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 Arch/Parabola packagers +# with `pacman-key --populate archlinux` and `pacman-key --populate parabola`. + +# +# 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. + +# NOTE: Nonprism is a particular repository that aims to provide software built +# and patched without services under global data surveillance programs like PRISM, +# XKeyscore and Tempora. For more info see: https://wiki.parabola.nu/Nonprism + +#[nonprism-testing] +#Include = /etc/pacman.d/mirrorlist + +#[nonprism] +#Include = /etc/pacman.d/mirrorlist + +#[libre-testing] +#Include = /etc/pacman.d/mirrorlist + +[libre] +Include = /etc/pacman.d/mirrorlist + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# The PCR (Parabola Community Repository) contains packages maintained by trusted +# members of the Parabola community. It also contains packages maintained by +# Parabola developers, but that the developer decided didn't belong in core/libre. + +#[pcr-testing] +#Include = /etc/pacman.d/mirrorlist + +[pcr] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the libre-multilib, multilib and pcr-multilib repositories as required here. + +#[nonprism-multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +#[nonprism-multilib] +#Include = /etc/pacman.d/mirrorlist + +#[libre-multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +#[libre-multilib] +#Include = /etc/pacman.d/mirrorlist + +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +#[multilib] +#Include = /etc/pacman.d/mirrorlist + +#[pcr-multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +#[pcr-multilib] +#Include = /etc/pacman.d/mirrorlist + +# Parabola also supports another community projects and personal repositories, to +# find them check out this wiki page: https://wiki.parabola.nu/Repositories + +# 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 + +Include = /etc/pacman.d/*.conf +#+end_src + +*** mirrorlist + +#+begin_src conf :tangle /sudo::/etc/pacman.d/mirrorlist :comments none +# Parabola GNU/Linux-libre - Last Updated: Wed Dec 20 02:59:35 GMT 2017 + +Server = http://mirror.fsf.org/parabola/$repo/os/$arch +Server = http://mirror.fsf.org/parabola/$repo/os/$arch +Server = http://mirror.fsf.org/parabola/$repo/os/$arch +Server = http://mirror.fsf.org/parabola/$repo/os/$arch + +# Location: London, UK +# Responsible: Parabola Project +# Note: Not really a mirror, automatically redirects you to an Arch +# mirror when possible. Works best specifying it a few times in a +# row (404s workaround). +# Server = http://redirector.parabola.nu/$repo/os/$arch +Server = https://redirector.parabola.nu/$repo/os/$arch + +# Location: Reykjavík, Iceland +# Responsible: Parabola Project +# Note: Not really a mirror, automatically redirects you to a Parabola +# mirror that has the file you are looking for. +# Server = http://repomirror.parabola.nu/$repo/os/$arch +Server = https://repomirror.parabola.nu/$repo/os/$arch + +# Location: Falkenstein, Germany +# Server = http://mirror.grapentin.org/parabola/$repo/os/$arch +Server = https://mirror.grapentin.org/parabola/$repo/os/$arch + +# Location: Volendam, Netherlands +Server = https://jeweet.net/repo/parabola/$repo/os/$arch + +# Location: Amsterdam, Netherlands +# Note: Not really a mirror, but a high-speed 10GiB cache for +# mirror.yandex.ru/mirrors/parabola +# Server = http://parabola.isacdaavid.info:8080/$repo/os/$arch +Server = https://parabola.isacdaavid.info:8081/$repo/os/$arch + +# Location: Moscow, Russian Federation +# Server = http://mirror.yandex.ru/mirrors/parabola/$repo/os/$arch +Server = https://mirror.yandex.ru/mirrors/parabola/$repo/os/$arch + +# Location: Ho Chi Minh City, Vietnam +# Server = http://mirror.freedif.org/Parabola/$repo/os/$arch +Server = https://mirror.freedif.org/Parabola/$repo/os/$arch + +# Location: Los Angeles, CA, USA +# Note: Also visit http://alfplayer.com/ for its SNAPSHOTS ARCHIVE +Server = http://alfplayer.com/parabola/$repo/os/$arch + +# Location: Boston, MA, USA +Server = http://mirror.fsf.org/parabola/$repo/os/$arch + +# Location: Austin, TX, USA +# Server = http://parabola.serverpit.com/ +Server = https://parabola.serverpit.com/ + +# Location: Reykjavík, Iceland +# Responsible: Parabola Project +# Note: Currently pointing to repomirror.parabola.nu +# Server = http://repo.parabola.nu/$repo/os/$arch +Server = https://repo.parabola.nu/$repo/os/$arch +#+end_src + ** pigeonhole *** amin.sieve :PROPERTIES: @@ -3120,12 +3374,11 @@ USB_BLACKLIST_WWAN=1 # Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below # are ignored when this is enabled! #RESTORE_DEVICE_STATE_ON_STARTUP=0 -RESTORE_DEVICE_STATE_ON_STARTUP=0 +RESTORE_DEVICE_STATE_ON_STARTUP=1 # Radio devices to disable on startup: bluetooth, wifi, wwan. # Separate multiple devices with spaces. #DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan" -DEVICES_TO_DISABLE_ON_STARTUP="bluetooth" # Radio devices to enable on startup: bluetooth, wifi, wwan. # Separate multiple devices with spaces. @@ -3144,6 +3397,7 @@ DEVICES_TO_DISABLE_ON_STARTUP="bluetooth" # Radio devices to disable on battery: bluetooth, wifi, wwan. #DEVICES_TO_DISABLE_ON_BAT="bluetooth wifi wwan" +DEVICES_TO_DISABLE_ON_BAT="bluetooth" # Radio devices to disable on battery when not in use (not connected): # bluetooth, wifi, wwan. @@ -4160,7 +4414,7 @@ alias mv="mv -iv" alias cp="cp -iv" alias scl=systemctl alias jcl=journalctl -alias m="mbsync uwaterloo; mbsync amin" +alias m="mbsync csclub; mbsync uwaterloo; mbsync amin" alias best="youtube-dl -f best" alias sd="ssh deb" alias sf="ssh fp"