Commit graph

568 commits

Author SHA1 Message Date
Pig Monkey
1e4247772c add ocrmypdf
Currently the python-pdfminer.six AUR package is broken, so this needs
to be installed manually.
2019-04-29 18:47:23 -07:00
Pig Monkey
4e1086710e add dict-moby-thesaurus 2019-04-29 18:47:04 -07:00
Pig Monkey
f5d443058f add dictd for offline dictionary 2019-04-29 18:43:34 -07:00
Pig Monkey
f0292fb6a0 replace split hunspell-en package with hunspell-en_US 2019-04-25 20:34:08 -07:00
Pig Monkey
2a013e1791 replace deprecated with_items on package tasks
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.7.html#using-a-loop-on-a-package-module-via-squash-actions
2019-04-25 20:33:04 -07:00
Pig Monkey
d04f62baab depending on the base role is not useful 2019-04-25 20:29:19 -07:00
Pig Monkey
35dd0aa8a7 PDF role depends on firejail 2019-04-25 20:28:33 -07:00
Pig Monkey
a3ec6a2523 reformat office role tasks 2019-04-25 18:59:21 -07:00
Pig Monkey
65f710db9a move PDF tasks to distinct role 2019-04-25 18:58:59 -07:00
Pig Monkey
d42736e715 install okular
seems useful for filling PDF forms and such
2019-04-25 16:24:15 -07:00
Pig Monkey
b161df2838 update magic-wormhole dependencies 2019-04-03 10:35:57 -07:00
Pig Monkey
7f561eb9a0 auto-switch between hsp/hsf and a2dp bluetooth policies 2019-03-28 20:19:23 -07:00
Pig Monkey
cc758014cc add bluetooth ldac/aptx support
Existing users should uninstall the previous pulseaudio-bluetooth
package.

    # pacman --remove --nosave --recursive pulseaudio-bluetooth
2019-02-21 20:18:15 -08:00
Pig Monkey
adf6ac5b16 revert to fixed magic-wormhole non-git package 2019-02-16 15:27:28 -08:00
Pig Monkey
f75f1836b0 install powertop and powerstat
We use TLP, so allowing powertop to auto tune or blindly implementing
its suggestions is a bad idea, but it is useful to diagnose power
consumption.
2019-01-23 20:42:08 -08:00
Pig Monkey
dc22828da3 install pwgen-passphrase 2019-01-20 12:11:58 -08:00
Pig Monkey
686abd1e40 add vnd.comicbook* mime entries for mcomix 2019-01-13 14:35:54 -08:00
Pig Monkey
dbfa72c258 install mupdf-tools for mcomix pdf viewing 2019-01-13 14:35:36 -08:00
Pig Monkey
a074470892 add perl-file-mimeinfo
This provides more accurate MIME type detection to xdg-utils.

https://wiki.archlinux.org/index.php/Default_applications#perl-file-mimeinfo
2019-01-09 22:04:32 -08:00
Ben Orchard
c901561b42 install light from main repos (promoted from AUR) 2019-01-09 20:39:40 +00:00
Pig Monkey
e65d68a455 rework wttr wrapper 2019-01-04 21:04:07 -08:00
Pig Monkey
d90a74645e default surfraw to use duckduckgo with js 2019-01-03 16:18:09 -08:00
Pig Monkey
b60857805d fix xdg PDF mime type entry for zathura 2019-01-03 14:09:46 -08:00
Pig Monkey
ba81d1c55f add undertime 2018-12-21 20:03:37 -08:00
Pig Monkey
9685ee6a9a prefer magic-wormhole git package 2018-12-21 20:03:02 -08:00
Pig Monkey
2fc02e7ae8 add solaar for managing logitech unify receivers 2018-12-13 19:16:50 -08:00
Pig Monkey
0fc61e77ea replace mat with mat2
Existing users should first remove mat

    # pacman --remove --nosave --recursive mat
2018-11-24 11:21:14 -06:00
Pig Monkey
dbc08a1972 remove mapboxcli script 2018-11-19 22:06:38 -08:00
Pig Monkey
01efc7d090 remove masterpdfeditor
This is now useless, as it inserts a watermark.
2018-11-19 20:16:08 -08:00
Pig Monkey
5066909d86 add qalculate
Note that this also includes the cli `qalc`, which is possibly more
attractive. Also, RPN mode.
2018-11-19 20:12:26 -08:00
Pig Monkey
dc396e32e0 remove goobook 2018-11-17 23:20:24 -08:00
Pig Monkey
fe2f2d88f5 simplify nmtrust configuration with includes 2018-11-17 23:19:47 -08:00
Pig Monkey
f3684a8279 update trusted_unit location in roles 2018-11-17 22:41:59 -08:00
Pig Monkey
5585ef9c7b move nmtrust to standalone role 2018-11-17 22:35:24 -08:00
Pig Monkey
420d2587da replace nmtrust submodule with aur package
Existing users should first remove the old submodule files, and move the
nmtrust config files to their new location:

 # rm /usr/local/bin/nmtrust
 # rm /usr/local/bin/ttoggle
 # rm /etc/NetworkManager/dispatcher.d/10trust
 # mkdir /etc/nmtrust
 # mv /usr/local/etc/trusted_* /etc/nmtrust/
2018-11-17 22:25:40 -08:00
Pig Monkey
c4be5e5e7b add systemd timer to update pacman mirrors daily
This increases the likelihood of speedy and up-to-date mirrors,
particularly during travel.
2018-11-17 21:38:45 -08:00
Pig Monkey
ceb1526498 reformat base package installation task 2018-11-17 21:00:54 -08:00
Pig Monkey
58febce4bb rework reflector mirrorlist update script 2018-11-17 21:00:36 -08:00
Pig Monkey
f24883623d add pamute as submodule
This seems better than me keeping this in ~/bin
2018-11-17 17:49:25 -08:00
Pig Monkey
d662679eca add zbar
For decoding QR codes to feed into pass-otp
2018-11-17 17:45:15 -08:00
Pig Monkey
47fe307650 use py3 virtualenv for tarsnapper
Existing users should first wipe the current virtualenv:

    # rm -r /usr/local/env/tarsnapper
2018-11-13 10:48:24 -08:00
Pig Monkey
7c37fed216 adjust chrony config 2018-10-27 11:14:07 -07:00
Pig Monkey
2fdc364a03 replace systemd-timesyncd with chrony
While debugging a clock issue I noticed that my RTC was out of sync.
Clearly this should be impossible, since any NTP implementation will
periodically set the hardware clock to the system clock. Except, for
reasons that I entirely fail to grok[1], systemd-timesyncd.

So I am disabling that pile of junk and replacing it with an NTP
implementation that actually meets the bare requirements of an NTP
implantation. I could be convinced to replace this with OpenNTPD.

Existing users should first disable the pile of junk before upgrading to
chrony:

    $ sudo timedatectl set-ntp false

Chrony is started in offline mode, and is told to attempt to communicate
with the pools via a NetworkManager dispatcher. I considered plugging
this in to nmtrust, as part of my campaign to minimize traffic on
untrusted networks, but this seems likely to be overkill. I could be
convinced otherwise.

Chrony's dial-up configuration[2] is attractive and may be worth
implementing. My inclination is that in the current setup with the
normal NetworkManager dispatcher, most spark clients will be online
frequently enough that setting system time by tracking RTC drift is
unnecessary. If the dispatcher is changed to plug into nmtrust, the
drift-tracking configuration becomes much more attractive -- when on the
road, a machine may not connect to a trusted network for weeks. I could
be convinced otherwise.

Chrony is configured to use the same Arch vendor pools as were used by
systemd-timesyncd. I am unsure if we should specify these by IP rather
than hostname, if there are better or smarter defaults we should
provide, or if it worth making the pools a configuration option.

[1]: https://lists.freedesktop.org/archives/systemd-devel/2011-May/002526.html
[2]: https://chrony.tuxfamily.org/manual.html#Dial_002dup-overview
2018-10-25 21:38:55 -07:00
Pig Monkey
ab02af25f1 add ip6tables
Somebody who uses ipv6 should tell me if this actually works.
2018-09-16 18:36:41 -07:00
Pig Monkey
ef5750ca7d py3status moved to community 2018-09-08 19:28:57 -07:00
Pig Monkey
c2bcd10c53 support kernel parameters
Note that this is only supported for grub. That is the only bootloader I
use. Patches for other bootloaders will be accepted.

The default params:

    * quiet the boot process
    * cause all virtual terminals to blank (ie, screen power off) after 60 seconds
    * enable panel self refresh v2

Blanking the screen is useful with physlock. Physlock does not run in X,
so DPMS settings have no effect on it.

PSR can potentially improve battery life on some machines, but cause
screen flicker on others. I have happily been using v2 on a ThinkPad
X260 for 6 months, but users should experiment between 1/2/3/4 to find
the best setting for their machine, or disable it entirely with 0. See:

* https://hansdegoede.livejournal.com/18653.html
* https://patchwork.kernel.org/patch/8182841/
2018-09-06 20:06:40 -07:00
Pig Monkey
93f680df2d add geteltorito 2018-09-06 18:58:41 -07:00
Pig Monkey
cfce83dd9b pasystray moved from aur to community 2018-08-30 12:01:56 -07:00
Pig Monkey
c43b939516 remove reverse path filter from iptables
This is now enabled by default at the kernel level[1], so duplicating it
in iptables is unnecessary. The entry in iptables also breaks WireGuard.

[1]: https://wiki.archlinux.org/index.php/Simple_stateful_firewall#Protection_against_spoofing_attacks
2018-08-28 21:45:54 -07:00
Pig Monkey
b283f57bd8 tell blueman to never auto power on bluetooth 2018-08-21 08:49:52 -07:00