Commit graph

345 commits

Author SHA1 Message Date
Pig Monkey
b7f74ccda2 localtime depends on nmtrust 2016-09-03 17:36:58 -07:00
Pig Monkey
13fb6f0db4 autoset timezone via localtime
If you happen to have a VPN in a different timezone that is set as a
trusted network, things may get a little weird.
2016-09-03 17:26:39 -07:00
Pig Monkey
e6878d8e08 allow redshift to access geoclue 2016-09-02 17:11:44 -07:00
Pig Monkey
aa7917c0f7 remove useless dependencies 2016-09-02 17:02:13 -07:00
Pig Monkey
af372e3169 update libs 2016-09-02 16:47:05 -07:00
Pig Monkey
152c4eba20 undo git-annex regression 2016-09-02 16:46:21 -07:00
Pig Monkey
ba30d6cec9 Merge branch 'tor' 2016-09-02 16:45:03 -07:00
Pig Monkey
12930235ef document tor 2016-09-02 16:43:33 -07:00
Pig Monkey
c0b303cc98 only perform parcimonie tasks when tor variable is defined 2016-09-02 16:23:55 -07:00
Pig Monkey
b3b22fa8dc add hook to update pacman mirrors
inspired by
https://www.reddit.com/r/archlinux/comments/4zdol6/a_pacman_hook_to_update_pacman_mirrorlist_using/
2016-09-01 18:43:54 -07:00
Pig Monkey
0457e167ab install overdue
https://github.com/tylerjl/overdue
2016-09-01 18:43:37 -07:00
Pig Monkey
440c5a5688 update ad block hosts 2016-08-31 20:46:23 -07:00
Pig Monkey
9c3f089dfb create a single role for aws management 2016-08-31 19:54:13 -07:00
Pig Monkey
d50e3b4efa install cli53 from package
Existing users can cleanup from the old manual install:

    # rm -r /usr/local/go/cli53
    # rm /usr/local/bin/cli53
2016-08-31 19:45:11 -07:00
Peter Hogg
fe943011d0 Merge pull request #28 from jshuping/fixes-outofdate
Fix/disable some changing/out-of-date packages
2016-09-01 02:21:05 +00:00
John Shuping
08b8fd43b2 orpie is back! 2016-08-31 18:10:05 -04:00
John Shuping
3bd0eb9a3b build terraform from src 2016-08-29 09:35:18 -04:00
John Shuping
aca85fb3ee consul was moved to community 2016-08-28 12:23:52 -04:00
John Shuping
df8b2a6188 Fix/disable some changing/out-of-date packages
- orpie's mirror is down, is flagged out-of-date
- attic/atticmatic are now borg/borgmatic, atticmatic removed from AUR
- terraform-bin is broken, is flagged out-of-date
- tucnak3 superceded by tucnak4, is flagged out-of-date, mirror url
  changed, no tucnak4 pkgbuild available
2016-08-28 12:12:18 -04:00
Peter Hogg
4492cf71d7 Merge pull request #27 from jshuping/uefi-encrypted-grub-boot
docs on UEFI install
2016-08-28 03:06:58 +00:00
Pig Monkey
03c80d30fc update nmtrust 2016-08-25 17:42:40 -07:00
Pig Monkey
3e5d15f0c3 all your python docs are belong to us 2016-08-25 17:40:57 -07:00
Pig Monkey
41229d0f78 install git-annex-remote-rclone 2016-08-19 17:08:15 -07:00
Pig Monkey
6fe54654b3 do not perform any git-annex tasks if gitannex variable is not defined 2016-08-18 20:46:24 -07:00
Pig Monkey
948b2a3b9f only perform tor tasks when tor variable is defined 2016-08-18 20:41:28 -07:00
John Shuping
359810ab06 install ansible too 2016-08-17 08:20:57 -04:00
Pig Monkey
7069621fdd install mcomix 2016-08-13 10:19:20 -07:00
Pig Monkey
1db8763ca0 tor depends on the networkmanager role
All the nmtrust scaffolding needs to exist before setting up tor.
2016-08-12 19:08:07 -07:00
Pig Monkey
8d706940bc move tor higher up the chain
This will just ensure that tor is the first thing added to the trusted
unit file on fresh installs, avoiding any future order-of-operations
issues.
2016-08-12 19:06:07 -07:00
Pig Monkey
7cd8c6aa55 allow bitlbee to be torified
Existing users may want to edit /usr/local/etc/trusted_units and place
tor.service above bitlbee.service, ensuring that tor is started first.
2016-08-12 19:02:20 -07:00
Pig Monkey
433283b486 split bitlbee and weechat roles 2016-08-12 18:57:05 -07:00
John Shuping
f4f3869eaa docs on UEFI install 2016-08-12 14:57:19 -04:00
Peter Hogg
98fbc77508 Merge pull request #26 from jshuping/xps15-install-take1
Minor additions to install steps
2016-08-12 04:23:56 +00:00
Pig Monkey
736db08f1e set no-honor-keyseserver-url for parcimonie
We need to set GNUPG_KEYSERVER_OPTIONS and pass something to address
EtiennePerot/parcimonie.sh#15

I set no-honor-keyserver-url in my gpg.conf anyway. I think the option
makes sense, so we'll use that until the parcimonie issue is resolved.
2016-08-11 21:18:02 -07:00
Pig Monkey
a0dbcb6c0d set parcimonie online fraction
This is used in parcimonie's delay computation function to determine
frequency of key refresh. It defaults to 1 (ie, the computer is online
100% of the time). Spark targets laptops. For a laptop which is off at
night and moving with the user between home and work, 70% seems
reasonable. Maybe still high. We'll start here and tweak as needed.
2016-08-10 21:23:20 -07:00
Pig Monkey
2507edc493 install parcimonie
Hooking into tor's nmtrust config seems to make sense. I don't know if
someone would want to run tor and not this, and you can't run this and
not tor.

This does introduce a new requirement for nmtrust that we haven't seen
before: tor must be started before parcimonie for it to work. Given the
order of the tasks, spark will cause parcimonie to be added to the
trusted unit file after tor, which means we should be good here. But if
a user were to manually edit the file, placing parcimonie above tor, it
would not work. I'm not sure I really want to deal with that problem.

We're running parcimonie for the primary user rather than using the
special `all-users.conf` that parcimonie ships with. That would cause
parcimonie to run for all users who have a ~~/.gnupg`, which in our case
includes root. Running this as root seems like a Bad Idea.
2016-08-10 21:18:14 -07:00
Pig Monkey
81898d6f02 hook tor into nmtrust
Only running Tor on trusted networks seems a little strange. However, I
like having the system stop as many background network services as
possible when I connect to untrusted networks. This means that the
majority of traffic that I generate is due to explicit action taken by
the user, which makes me feel a bit more sneaky. If I'm on an untrusted
network and want to do something through tor, I'm happy to just
`systemctl start tor.service`.
2016-08-10 21:03:06 -07:00
John Shuping
3575c35fd7 Minor additions to install steps
This should help people doing installs on hidpi displays and/or using
only wifi connectivity.  And by installing git here, you are one step
closer to running ansible.
2016-08-10 15:08:14 -04:00
Pig Monkey
662785f282 accept exit code 1 for firejailed tor
Firejail returns 1 when receiving a SIGINT, despite Tor exiting cleanly.
We'll accept that.
2016-08-10 09:07:46 -07:00
Pig Monkey
98a8fcfe02 install tor
This needs a firejail profile and a config option to specify when to
start the service.
2016-07-29 21:00:02 -07:00
Pig Monkey
74371b72b1 remove intel_pstate switch
This was only needed for Skylake chips on pre-4.6 kernels to prevent
freeze on lid close. Now that grsec is shipping 4.6 we're in the brave
new world of Skylake support.
2016-07-27 21:25:10 -07:00
Peter Hogg
ffc6e82284 Merge pull request #25 from zoresvit/patch-1
Validate sudoers file before copying
2016-07-18 22:28:16 +00:00
Ruslan Kiianchuk
eb1d298446 Validate sudoers file before copying
Ansible `copy` module has `validation` parameter that allows to validate the file prior to replacing it on remote:

> The validation command to run before copying into place. The path to the file to validate is passed in via '%s' which must be present as in the example below. The command is passed securely so shell features like expansion and pipes won't work.

Here we use `visudo` to validate the file before writing it in place, so the user won't lock himself out in case of incorrect changes to `sudoers.j2` template.
2016-07-18 14:01:56 -07:00
Pig Monkey
abe2715fc4 use python3 for vdirsyncer/khard/khal
Existing users should remove the old PIM virtualenv first.

    # rm -fr /usr/local/env/pim
2016-07-17 13:48:53 -07:00
Pig Monkey
4117d53691 gimp raw support 2016-07-13 09:51:31 -07:00
Pig Monkey
67f9be039b detach physlock 2016-07-10 13:13:17 -07:00
Pig Monkey
fbfabc1331 do not install xf86-video-intel
https://www.reddit.com/r/archlinux/comments/4cojj9/it_is_probably_time_to_ditch_xf86videointel/
2016-07-04 17:29:21 -07:00
Pig Monkey
c3daaf26ea update nmtrust and firewarden 2016-06-11 14:04:52 -07:00
Pig Monkey
7e730382e4 accept arguments to TBB 2016-06-04 14:15:16 -07:00
Pig Monkey
fa74a53c55 rewrite TBB script
Firejail 0.9.40 no longer swallows the exit code, so we can be smarter
about setting the PaX flag.
2016-06-03 19:08:21 -07:00