From 37062e1ca6c479b7cf773931aa0e797ebcfafe8b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 5 Jun 2020 22:27:14 -0700 Subject: Add user datatype to keep I also restructured some types so that I could grab a handle on the keep to close it on shutdown, otherwise the database would be locked and I can't do anything about it. This might mean I have to delete and start the database from scratch when I deploy, but that's okay because I haven't stored anything yet. I also renamed some stuff like 'deck' and 'beam' just for fun. I could make these into more general interfaces like I always planned to. Also I haven't really tested this yet, so... next commit will implement the user login. --- default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 4fa9e0a..32f9952 100644 --- a/default.nix +++ b/default.nix @@ -73,9 +73,9 @@ in rec { services.herocomics = { enable = true; port = 3000; - server = Hero.Server; - client = Hero.Client; - dataDir = "/var/lib/hero"; + deck = Hero.Server; + beam = Hero.Client; + keep = "/var/lib/hero"; }; }; # Haskell targets -- cgit v1.2.3