-6
nix/modules/appview.nix
-6
nix/modules/appview.nix
···
22
22
default = 3000;
23
23
description = "Port to run the appview on";
24
24
};
25
-
cookie_secret = mkOption {
26
-
type = types.str;
27
-
default = "00000000000000000000000000000000";
28
-
description = "Cookie secret";
29
-
};
30
25
environmentFile = mkOption {
31
26
type = with types; nullOr path;
32
27
default = null;
···
57
52
58
53
environment = {
59
54
TANGLED_DB_PATH = "appview.db";
60
-
TANGLED_COOKIE_SECRET = cfg.cookie_secret;
61
55
};
62
56
};
63
57
};