about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-28T04·09-0400
committerglittershark <grfn@gws.fyi>2020-07-29T01·57+0000
commite8f893ee100e1c85e08dbfd7244e5c674266c3bc (patch)
treeea6000ef906eed583aa48dd1e9f829b549817936 /ops/nixos
parent31f9ee58d0c91d02d96d29ea6e09bf0e4f9c5b92 (diff)
refactor(web/panettone): Remove prevalence r/1505
Now that we've migrated over all the data to postgresql, we can get rid
of cl-prevalence as a dependency from Panettone along with all code that
mentions it.

Change-Id: I945f50a88fea5770aac5b4a058342b8269c0bea2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1495
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/panettone.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/ops/nixos/panettone.nix b/ops/nixos/panettone.nix
index c95fb7ffde65..15ef2fbb2dae 100644
--- a/ops/nixos/panettone.nix
+++ b/ops/nixos/panettone.nix
@@ -70,13 +70,11 @@ in {
       serviceConfig = {
         DynamicUser = true;
         Restart = "always";
-        StateDirectory = "panettone";
         EnvironmentFile = cfg.secretsFile;
       };
 
       environment = {
         PANETTONE_PORT = toString cfg.port;
-        PANETTONE_DATA_DIR = "/var/lib/panettone";
         PGHOST = "localhost";
         PGUSER = cfg.dbUser;
         PGDATABASE = cfg.dbName;