fix grist deployment completely
This commit is contained in:
parent
4e5ef010d4
commit
c45df4dc1f
|
@ -7,7 +7,7 @@ in {
|
|||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
userName = "Victor";
|
||||
userName = "0x76";
|
||||
userEmail = "victor@xirion.net";
|
||||
lfs.enable = true;
|
||||
extraConfig = {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let vs = config.vault-secrets.secrets;
|
||||
in {
|
||||
imports = [ ];
|
||||
|
@ -16,6 +16,8 @@ in {
|
|||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
networking.firewall.allowedTCPPorts = [ 8484 ];
|
||||
|
||||
environment.systemPackages = with pkgs; [ sqlite ];
|
||||
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
|
@ -25,10 +27,22 @@ in {
|
|||
};
|
||||
|
||||
virtualisation.oci-containers.containers.grist = {
|
||||
image = "gristlabs/grist:latest";
|
||||
image =
|
||||
"gristlabs/grist:latest"; # Switch to versioned release as soon as OIDC hits stable
|
||||
environment = {
|
||||
APP_HOME_URL = "https://grist.0x76.dev";
|
||||
GRIST_SUPPORT_ANON = "false";
|
||||
GRIST_FORCE_LOGIN = "true";
|
||||
GRIST_SINGLE_ORG = "xirion";
|
||||
GRIST_ORG_IN_PATH = "false";
|
||||
GRIST_DEFAULT_EMAIL = "v@0x76.dev"; # Defines admin user
|
||||
GRIST_HIDE_UI_ELEMENTS =
|
||||
"helpCenter,billing,templates,multiSite,multiAccounts";
|
||||
GRIST_TELEMETRY_LEVEL = "off";
|
||||
GRIST_WIDGET_LIST_URL =
|
||||
"https://github.com/gristlabs/grist-widget/releases/download/latest/manifest.json";
|
||||
|
||||
# No Python 2
|
||||
PYTHON_VERSION = "3";
|
||||
PYTHON_VERSION_ON_CREATION = "3";
|
||||
|
||||
|
|
Loading…
Reference in a new issue