Commit graph

654 commits

Author SHA1 Message Date
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
f077c107f6 remove fabric from base packages 2018-11-13 10:46:49 -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
39959de82a fix typo 2018-09-06 18:59:08 -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
6d0bb17ec8 remove whitespace 2018-08-29 19:12:23 -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
Pig Monkey
94bb34cb76 mask systemd radio socket when using tlp 2018-08-21 08:49:36 -07:00
Pig Monkey
eade06a489 prefer visidata over visidata-git 2018-08-17 08:35:48 -07:00
Pig Monkey
91f2094e67 add fwupd to base packages 2018-08-12 10:28:28 -07:00
Pig Monkey
3a3a744679 autorandr moved to community 2018-07-22 16:22:32 -07:00
Pig Monkey
80205b8710 use all cores when compressing packages 2018-06-01 20:02:18 -07:00
Pig Monkey
2aa78171e4 install pacman-contrib 2018-05-28 16:28:39 -07:00
Pig Monkey
8ea103654a gimp raw package has changed names 2018-05-12 18:53:23 -07:00
Pig Monkey
5849754a26 replace size check with existence check
If the file does not exist, the dictionary will not have a size key.
2018-05-05 17:02:06 -07:00
Pig Monkey
a29ab853cc remove useless dependency 2018-05-05 16:40:02 -07:00
Pig Monkey
9e25eca7df hashdeep has moved to community 2018-05-05 16:12:07 -07:00
Pig Monkey
035b84dc3e hfsprogs was dropped from community
And it isn't worth setting up an AUR task for this.
2018-05-05 16:09:05 -07:00
Pig Monkey
72d2017cb5 prefer ansible_managed var in templates 2018-05-05 15:59:45 -07:00
Pig Monkey
1027c3ce1b do not start macchiato during the task
Starting macchiato here brings down the network connection for a couple
seconds, which will cause subsequent network dependent tasks to fail.
Start the service with a handler after everything else is done.
2018-05-05 15:50:38 -07:00
Pig Monkey
643419592a remove old dependency 2018-05-05 14:08:09 -07:00
Pig Monkey
68602f073d use official vdirsyncer, khard, and khal packages
When we started this project vdirsyncer/khard/khal was a mess of AUR
dependencies that I didn't want to deal with. Everything has official
packages now.

Existing users should remove the old virtualenv and symlinks.

    $ sudo rm -r /usr/local/env/pim
    $ sudo rm /usr/local/bin/khard
    $ sudo rm /usr/local/bin/khal
    $ sudo rm /usr/local/bin/vdirsyncer
2018-05-05 14:05:55 -07:00
Pig Monkey
33ffe15f6f remove redundant /etc/dconf/profile creation
This is done by the dconf role.
2018-05-05 13:09:16 -07:00
Pig Monkey
49eb080686 tag aur task 2018-05-05 13:07:01 -07:00
Pig Monkey
92d1b3cf83 Merge branch 'elvetemedve-feature/gnome' 2018-05-05 13:06:30 -07:00
Pig Monkey
745cd9caa7 Merge branch 'feature/gnome' of https://github.com/elvetemedve/spark into elvetemedve-feature/gnome 2018-05-05 13:05:40 -07:00
Pig Monkey
d0734b7af5 Merge branch 'elvetemedve-patch-1' 2018-05-05 13:00:26 -07:00
Pig Monkey
be12cec69e Merge branch 'patch-1' of https://github.com/elvetemedve/spark into elvetemedve-patch-1 2018-05-05 12:59:24 -07:00
Pig Monkey
8603b8f0d3 take advantage of var that we're setting anyway 2018-05-05 11:12:11 -07:00
Géza Búza
9f9ecfcbaf Extract DConf dependencies into a separate role
Both GDM and GNOME uses DConf to manage its own configuration. Extract
the common dependencies into a separate role called "dconf".
DConf provides:
  - creating empty directories for configuration
  - handler to apply configuration when configuration has changed
2018-04-27 16:36:00 +02:00
Géza Búza
fbf9f80dad
Fix: DConf directory permissions 2018-04-27 16:26:31 +02:00
Géza Búza
f71c50bd41
Fix: Create DConf config directory
- Fix typo.
- Create DConf config directory recursively, when it does not exist.
2018-04-27 15:59:14 +02:00
Géza Búza
8d8ec13b8f Add GNOME support
Add ability to install the GNOME desktop environment.
Most common global settings (date and time, power management, touchpad settings, theme) can be configured via Ansible variables.
See "group_vars/all" file.
2018-04-19 22:19:26 +02:00