Commit graph

1086 commits

Author SHA1 Message Date
Vincent Ambo
d68582360a feat(desktop): Type parentheses the Lisp-machine way
https://www.reddit.com/r/lisp/comments/78tx8f/typing_parentheses_the_lisp_machine_way/
2018-01-12 22:56:46 +01:00
Vincent Ambo
568c4cc115 feat(adho): Add Teknologihuset wifi 2018-01-10 14:54:20 +01:00
Vincent Ambo
0381b66751 feat(adho): Add various travel-related wifi networks 2018-01-10 14:54:20 +01:00
Vincent Ambo
f3b9126fa2 chore(look-and-feel): Remove 4K display logic for stallo
Back to a normal screen!
2018-01-04 23:23:33 +01:00
Vincent Ambo
5fd46c7062 feat(desktop): Re-enable Compton 2018-01-04 23:22:26 +01:00
Vincent Ambo
866d8996e3 feat(settings): Enable GPG pinentry in emacs
This doesn't work via helm-pass yet, not quite sure why (yet).
2018-01-04 09:30:55 +01:00
Vincent Ambo
40abd164e6 fix(custom): Fix Elnode file sending on NixOS 2018-01-04 09:30:55 +01:00
Vincent Ambo
f7a4d401b8 chore(pkgs): Minor package updates 2018-01-04 09:30:55 +01:00
Vincent Ambo
f50c4a9ec1 feat(nixos): Fix EXWM multi-screen outputting
Pins a set amount of screens on each display corresponding to the key
wells on my Kinesis :sun:
2018-01-04 09:30:55 +01:00
Vincent Ambo
880df6560c fix(nix): Fix Gogs SSH access
The Gogs developers got it into their head that trying to write things
to some relative path from the binary location is a sensible thing to
do (spoiler: it's not).

Due to their weird "GOGS_CUSTOM" directory which seems to only
sometimes be configurable by environment variables, the command used
to handle SSH requests failed because it attempted to write logs into
the Nix store.

This works around the issue by hardcoding the log file root path in
the Gogs configuration.
2018-01-03 23:21:57 +01:00
Vincent Ambo
a6a48806c4 feat(nix): Add Gemma example deployment 2018-01-03 23:02:48 +01:00
Vincent Ambo
9464a1dee4 chore: Clean up old Kubernetes configuration 2018-01-03 23:02:48 +01:00
Vincent Ambo
51cbf1e92a feat(tazj.in): Add gemma.tazj.in host 2018-01-03 23:02:48 +01:00
Vincent Ambo
61be253d6b feat(build): Configurable output location
For easier Nix builds!
2018-01-03 22:51:20 +01:00
Vincent Ambo
0d7f845bf5 refactor(build): Use ASDF facility for output naming
Turns out there is an easy-to-use :build-pathname parameter to set the
output binary name. This kills the hack!
2018-01-03 16:54:45 +01:00
Vincent Ambo
96c7bdebd6 fix(tazj.in): Set A-record TTLs back to 300 seconds 2018-01-03 16:29:49 +01:00
Vincent Ambo
98281f3548 feat(nix): Configure oslo.pub redirect correctly 2018-01-03 14:31:38 +01:00
Vincent Ambo
20b26dae3b feat(dns): Import oslo-pub zone to git 2018-01-03 14:21:33 +01:00
Vincent Ambo
41a213054d fix(nix): Correctly configure required kernel modules & VMWare guest 2018-01-02 22:51:31 +01:00
Vincent Ambo
f9641cc1ed refactor(nix): Use disk labels instead of disk UUIDs
Makes configuration portable between VM instances.
2018-01-02 12:08:35 +01:00
Vincent Ambo
a9401f94db feat(nix): Configure Gogs setup 2018-01-02 12:08:23 +01:00
Vincent Ambo
9da69a7962 feat(dns): Move tazblog over to GleSYS machine 2018-01-02 00:56:27 +01:00
Vincent Ambo
aac2c029a4 feat(nix): Configure reverse-proxy for tazblog 2018-01-02 00:55:23 +01:00
Vincent Ambo
a646f94d47 feat(nix): Add initial Tazblog Nix deployment configuration 2018-01-01 23:20:17 +01:00
Vincent Ambo
9368117813 feat(dns): Add Runbox SPF & renew Keybase verification 2018-01-01 23:20:03 +01:00
Vincent Ambo
cc6de0f9c6 feat(nix): Add Docker building configuration 2017-12-31 17:02:56 +01:00
Vincent Ambo
48687f77d2 fix(elm): Use relative URL to access API
Now that Hunchentoot is serving the Elm frontend, Elm needs to connect
to Gemma at a relative path.

Side note: It would be useful if the frontend displayed errors that
happened :sun:
2017-12-31 17:02:13 +01:00
Vincent Ambo
bd3b2782b9 feat(lisp): Correctly set location for static assets in Nix builds
In order to let Hunchentoot serve the static assets from the correct
location, the *static-file-location* parameter is set before image
dumping based on the $out-envvar which is present during the build
process.

This can easily be set manually in the config file if required by a
user.
2017-12-31 15:31:52 +01:00
Vincent Ambo
8703b6102c feat(build): Add initial Nix-based build process
Adds a build script using ASDF's program-op to build an executable out
of the Gemma source code.

In addition a Nix derivation is provided that will both compile the
Elm source and place it in a folder, as well as create the executable.

Currently static file serving does not function as intended.
2017-12-29 16:42:10 +01:00
Vincent Ambo
5579ca7d6c feat(build): Configure ASDF program-op with entrypoint 2017-12-26 13:48:57 +01:00
Vincent Ambo
abe8419b03 docs(README): Update docs with a note about configuration 2017-12-26 11:15:27 +01:00
Vincent Ambo
e50e2acde0 docs: Add example configuration file 2017-12-26 11:13:52 +01:00
Vincent Ambo
4536e65471 feat(lisp): Implement configuration loading
Adds configuration loading from a file located at either
"/etc/gemma/config.lisp" or a path determined via the `GEMMA_CONFIG`
environment variable.

The configuration file can contain any number of deftask forms and a
single config form which determines the location at which Gemma stores
its data and also the port on which it should listen.
2017-12-26 11:13:03 +01:00
Vincent Ambo
50785da62d chore(dotfiles/pkgs): Remove rofi and configuration
No longer need this with EXWM, where Helm replaces all these features.
2017-12-24 18:08:54 +01:00
Vincent Ambo
bd10830d84 chore(dotfiles): Remove i3 config 2017-12-24 18:08:06 +01:00
Vincent Ambo
4a3c771a23 refactor(pkgs): Switch to stable Firefox distribution
Since Firefox Quantum is in stable, I don't need to use the beta
binary anymore.
2017-12-24 18:07:20 +01:00
Vincent Ambo
c2b9c03714 feat(adho): Add The Thief wifi 2017-12-24 18:07:10 +01:00
Vincent Ambo
db0e74fbd0 fix(lisp): Don't intern symbols for unregistered tasks 2017-12-24 18:05:49 +01:00
Vincent Ambo
aeeb11f1b7 Bump to LTS 9.20 2017-12-22 11:21:06 +01:00
Vincent Ambo
eadf75d86b Bump to LTS 9.11 2017-12-22 10:45:33 +01:00
Vincent Ambo
02a34a14a0 feat(lisp): Make server port configurable 2017-12-21 14:00:32 +01:00
Vincent Ambo
bf9991026a refactor(lisp): Use imported symbols with local qualification
... except hunchentoot, I like using that fully-qualified because it's
a great word.
2017-12-21 13:55:14 +01:00
Vincent Ambo
2a2af6cff7 feat(adho): Add a few networks in Stockholm 2017-12-21 11:04:36 +01:00
Vincent Ambo
aa13319d6e chore(adho): Remove Steam & related config 2017-12-21 11:04:21 +01:00
Vincent Ambo
8d1c9df434 fix(lisp): Automatically snapshot after task completions 2017-12-21 01:27:06 +01:00
Vincent Ambo
a8d46a358e feat(lisp): Implement persistent storage via cl-prevalence
Uses the cl-prevalence system to store tasks on disk. The storage
location is either relative to the working directory in which the
system is started or determined (with priority) by the environment
variable `GEMMA_DATA_DIR`.
2017-12-21 01:21:11 +01:00
Vincent Ambo
51ddb8fb53 docs: Add README with project explanation and background 2017-12-20 21:43:48 +01:00
Vincent Ambo
6679b893aa chore: Add code of conduct to project 2017-12-20 21:43:32 +01:00
Vincent Ambo
b0e6491600 chore: License under GPLv3 2017-12-20 21:43:05 +01:00
Vincent Ambo
d3ce3c1568 feat(elm): Automatically poll every 15 seconds
15 seconds is potentially a bit aggressive considering that
Gemma (currently) tracks expiry times in *days*.
2017-12-20 21:17:57 +01:00