twitterchiver: add secrets
This commit is contained in:
parent
8d4e26d3cf
commit
0961a68532
1 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
{ depot, ... }:
|
{ depot, ... }:
|
||||||
{
|
let
|
||||||
|
inherit (depot.ops) secrets;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../lib/bvm.nix
|
../lib/bvm.nix
|
||||||
];
|
];
|
||||||
|
@ -45,6 +47,7 @@
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${depot.go.twitterchiver.viewer}/bin/viewer --user_to_twitter=lukegb@lukegb.com:lukegb,bgekul";
|
ExecStart = "${depot.go.twitterchiver.viewer}/bin/viewer --user_to_twitter=lukegb@lukegb.com:lukegb,bgekul";
|
||||||
|
EnvironmentFile = secrets.twitterchiver.environment;
|
||||||
WorkingDirectory = "${depot.go.twitterchiver.viewer}/share";
|
WorkingDirectory = "${depot.go.twitterchiver.viewer}/share";
|
||||||
User = "twitterchiver";
|
User = "twitterchiver";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
|
|
Loading…
Reference in a new issue