Vincent Ambo
30ebf2ee9e
feat(ops/nixos/nugget): Enable SSH agent on nugget
2020-04-26 18:40:16 +01:00
Vincent Ambo
7ef00d0f27
feat(ops/nixos/camden): Enable SSH agent auth
2020-04-26 18:34:10 +01:00
Vincent Ambo
15323a6ee4
feat(ops/nixos/nugget): Install idualctl
2020-04-26 15:52:23 +01:00
Vincent Ambo
322a76cb7a
fix(ops/nixos/camden): Use new //fun/idual CLI structure
2020-04-26 15:51:38 +01:00
Vincent Ambo
64894062a9
feat(ops/nixos/camden): Disable camden firewall
...
The local network is considered trusted and ingress from the outside
world is now handled by the Edgerouter.
2020-04-26 14:58:42 +01:00
Vincent Ambo
6644d0031d
feat(fun/idual && nixos/camden): Add light alarm systemd units
...
Adds a systemd unit to run the idual light alarm using a transient
timer created by systemd-run.
2020-04-26 00:28:19 +01:00
Vincent Ambo
eac683f69c
chore(ops/nixos/nugget): Remove camden from /etc/hosts
...
The new router can actually deal with this sensibly.
2020-04-25 21:46:27 +01:00
Vincent Ambo
8465a5435b
fix(ops/nixos/camden): Introduce brute-force nginx issue fix
...
This adds a timer running every minute that fixes the nginx
permissions that were broken in NixOS 20.03
2020-04-22 12:04:05 +01:00
Vincent Ambo
a488bd3702
feat(ops/nixos/camden): Install 'bat' and 'ripgrep' on camden
2020-04-21 22:56:37 +01:00
Vincent Ambo
2ca4287cf0
feat(ops/nixos/camden): Use my cachix cache on camden
...
This cache is populated by sourcehut builds.
2020-04-21 22:55:32 +01:00
Vincent Ambo
6a2beb5a6a
feat(ops/nixos/camden): Add vhost for TVL homepage
2020-04-21 03:17:30 +01:00
Vincent Ambo
1229621d7b
feat(ops/nixos/camden): Provision certificate for tvl.fyi
2020-04-21 03:05:03 +01:00
Vincent Ambo
d6f5ca7caf
feat(ops/nixos/camden): Add static IPv6 address to camden
2020-04-20 17:06:19 +01:00
Vincent Ambo
0f0f1a547f
feat(ops/nixos/camden): Configure honk service
2020-04-19 22:58:41 +00:00
Vincent Ambo
688175c1f7
feat(ops/nixos/camden): Install honk
2020-04-19 23:30:19 +01:00
Vincent Ambo
066d34b50e
feat(ops/nixos/nugget): Add chromium with VAAPI patches
...
These patches enable hardware-accelerated video decoding, which is
useful for Stadia.
The main issue with this is that Hydra doesn't currently cache
Chromium with these patches, which means that it is built from scratch
which takes in the order of 5 hours on an otherwise unused nugget.
2020-04-17 12:43:25 +01:00
Vincent Ambo
b4bf0b37b0
chore(ops/nixos/nugget): Install steam again
2020-04-11 13:31:17 +01:00
Vincent Ambo
e90e3153f8
chore(ops/nixos/camden): Enable HSTS headers on *.tazj.in
2020-04-04 21:49:03 +01:00
Vincent Ambo
f43294cd90
chore(ops/nixos/camden): Use upstream tailscale module
2020-04-04 13:17:18 +01:00
Vincent Ambo
de81e087d4
chore(ops/nixos/nugget): Use upstream tailscale module
2020-04-04 13:16:39 +01:00
Vincent Ambo
0f3d11f541
chore(third_party): Remove Tailscale derivation
...
This is now part of nixpkgs itself.
2020-04-04 13:02:57 +01:00
Vincent Ambo
9caf09a244
feat(ops/nixos/camden): Enable RTMP support in nginx
...
This makes it possible to live-stream various things at rtmp://tazj.in/tvl
2020-04-04 01:39:37 +00:00
Vincent Ambo
c3de37f54d
fix(ops/nixos/nugget): Point camden host at new internal IP
...
This changed due to the router replacement.
2020-04-04 02:36:20 +01:00
Vincent Ambo
a89d22eb75
chore(ops/nixos/nugget): Install ffmpeg (including libnpp support)
2020-04-04 02:36:20 +01:00
Vincent Ambo
d2d7385833
feat(ops/nixos/nugget): Add module for v4l2loopback support
...
This kernel module creates a fake video input device to which I can
stream various things, such as screen grabs or qyliss' video stream
for TVL.
2020-04-04 02:36:20 +01:00
Vincent Ambo
9b606e2c4e
feat(ops/nixos/nugget): Install clang & friends system-wide
2020-04-04 02:36:20 +01:00
Vincent Ambo
576f190972
fix(ops/nixos/nugget): Ensure that 'nuggetEmacs' is used for EXWM
2020-03-12 23:49:39 +00:00
Vincent Ambo
080c3591ca
chore(ops/nixos/nugget): Disable DHCP for Remarkable USB conn
...
This otherwise holds up the boot process if the device is not
connected, which is annoying.
2020-03-12 23:27:12 +00:00
Vincent Ambo
de362fd278
feat(ops/nixos/nugget): Install google-c-style in Emacs
2020-03-12 23:27:12 +00:00
Vincent Ambo
814729bd04
fix(ops/nixos/camden): Add required options for ACME updates
...
The implementation for provisioning ACME certificates has changed in
nixos-unstable[0] and now requires a few extra options to be set.
[0]: https://github.com/NixOS/nixpkgs/pull/77578
2020-03-01 01:11:28 +00:00
Vincent Ambo
1f5d2d424c
chore(third_party): Remove guile 3.0 override
...
I don't actually use guile at all, this was just for experimentation.
2020-03-01 01:07:48 +00:00
Vincent Ambo
d38995385b
chore(ops/nixos/nugget): Use DHCP for Remarkable USB connection
2020-03-01 00:50:16 +00:00
Vincent Ambo
5faa737ead
fix(ops/besadii): Remove branch tag after checking for it
...
... oops. The problem with working on besadii is that testing it
always lags one commit behind.
2020-02-21 23:35:42 +00:00
Vincent Ambo
a2bb8a7e1d
fix(ops/besadii): Do not trigger builds for deleted branches
2020-02-21 23:30:05 +00:00
Vincent Ambo
28560fcf8a
fix(ops/besadii): Include branch name in build note
2020-02-21 23:27:41 +00:00
Vincent Ambo
ca7c8fe9f0
fix(ops/besadii): Clone from git.tazj.in, not git.camden.*
2020-02-21 23:20:22 +00:00
Vincent Ambo
5ed68f0f6b
fix(ops/besadii): Only trigger builds for branches
2020-02-21 23:16:28 +00:00
Vincent Ambo
8fe90430ee
chore(ops/besadii): Pin git version used in besadii
2020-02-21 23:13:53 +00:00
Vincent Ambo
c689df0dc7
fix(ops/besadii): Replace slashes in branch names
...
Submitting a build with a branch containing a slash (which is common
for my branches) returns this error:
Invalid tag name, tags must use lowercase alphanumeric characters,
underscores, dashes, or dots
This commit replaces all slashes with underscores to work around that.
2020-02-21 23:06:19 +00:00
Vincent Ambo
21b76cb023
feat(ops/besadii): Run 'git update-server-info' at startup
...
Since besadii is effectively the entire post-receive hook, it also
needs to do the entire job of the hook.
2020-02-21 22:58:34 +00:00
Vincent Ambo
8377fd48f5
fix(ops/besadii): Send auth token in correct format
2020-02-21 22:51:40 +00:00
Vincent Ambo
59d02771b5
refactor(ops/besadii): Log to syslog instead of stdout
2020-02-21 22:46:34 +00:00
Vincent Ambo
dcbe3d1f9b
feat(ops/besadii): Use post-receive hook input to trigger builds
...
Parses the input passed to besadii from git to extract ref updates and
trigger builds.
2020-02-21 22:32:23 +00:00
Vincent Ambo
5058f3928a
feat(ops/besadii): Read sourcehut token from secrets file on disk
2020-02-21 22:31:57 +00:00
Vincent Ambo
0a34810e27
chore(ops/besadii): Fail if sourcehut token is unset
2020-02-21 22:09:23 +00:00
Vincent Ambo
80c6680eda
feat(ops/besadii): Refactored tool to trigger sourcehut builds
...
Refactors //ops/sync-gcsr which was previously responsible for
synchronising the git repository between GCSR and the git.tazj.in cgit
instance to simply be responsible for triggering builds on sourcehut.
This program is intended to run as a git post-update hook.
Note: Not yet feature complete, as interpolation of concrete git
values and also sourcehut secrets is missing.
2020-02-21 22:05:43 +00:00
Vincent Ambo
68d1d87a9b
fix(ops/nixos/camden): Add missing quote in nginx config
2020-02-21 16:12:48 +00:00
Vincent Ambo
25d8e7ce25
feat(ops/nixos/camden): Modify nginx log format
...
This log format contains more structured and correctly typed
information, which I can now use for dashboards and stuff in Stackdriver.
2020-02-21 16:10:08 +00:00
Vincent Ambo
1e51a2135d
fix(ops/nixos/camden): Configure nginx to not log hostnames
...
Hostname prefixes break JSON serialisation, leading to useless
Stackdriver Logging entries.
2020-02-21 16:01:54 +00:00
Vincent Ambo
703aebe6a9
feat(ops/nixos/camden): Install jq
2020-02-21 15:43:07 +00:00