+7
nix/modules/appview.nix
+7
nix/modules/appview.nix
···
39
39
};
40
40
41
41
config = mkIf cfg.enable {
42
+
services.redis.servers.appview = {
43
+
enable = true;
44
+
port = 6379;
45
+
};
46
+
42
47
systemd.services.appview = {
43
48
description = "tangled appview service";
44
49
wantedBy = ["multi-user.target"];
50
+
after = ["redis-appview.service"];
51
+
requires = ["redis-appview.service"];
45
52
46
53
serviceConfig = {
47
54
ListenStream = "0.0.0.0:${toString cfg.port}";