Compare commits
3 commits
52bb282190
...
c950f7098e
Author | SHA1 | Date | |
---|---|---|---|
c950f7098e | |||
68ce0f16d9 | |||
d8a1943d20 |
6 changed files with 16 additions and 3 deletions
|
@ -97,6 +97,11 @@
|
|||
file = ./nitter/config.age;
|
||||
};
|
||||
|
||||
nitter-guest-accounts = {
|
||||
file = ./nitter/guestAccounts.age;
|
||||
mode = "555";
|
||||
};
|
||||
|
||||
anonymous-overflow-config = {
|
||||
file = ./anonymous-overflow/config.age;
|
||||
};
|
||||
|
|
BIN
agenix/hosts/tanker/nitter/guestAccounts.age
Normal file
BIN
agenix/hosts/tanker/nitter/guestAccounts.age
Normal file
Binary file not shown.
|
@ -323,8 +323,8 @@ in
|
|||
src = fetchFromGitHub {
|
||||
owner = "L3MON4D3";
|
||||
repo = "LuaSnip";
|
||||
rev = "a86bcf6bd729ca1ee90312bce9ca66a44f806764";
|
||||
sha256 = "10yzwxbnl8chcakr3hlc86jxhi1d8i9hbp5swfywabp4dhbyhbbv";
|
||||
rev = "3657c3f3cb2214a681fc7e95b6ffb509d076ebfb";
|
||||
sha256 = "1w7jzcwkyikl4v5irb5yc0v5vs0k758mdwvgnscc9zzwsg6vs642";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -41,6 +41,7 @@ in
|
|||
"agenix/hosts/tanker/mosquitto/passwordWeewx.age".publicKeys = tanker;
|
||||
|
||||
"agenix/hosts/tanker/nitter/config.age".publicKeys = tanker;
|
||||
"agenix/hosts/tanker/nitter/guestAccounts.age".publicKeys = tanker;
|
||||
|
||||
"agenix/hosts/tanker/anonymous-overflow/config.age".publicKeys = tanker;
|
||||
|
||||
|
|
|
@ -24,5 +24,9 @@
|
|||
|
||||
access_log /var/log/nginx/access.log combined_anon buffer=32k flush=5m;
|
||||
'';
|
||||
|
||||
appendConfig = ''
|
||||
worker_processes auto;
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15,7 +15,10 @@ in
|
|||
DynamicUser = true;
|
||||
StateDirectory = "nitter";
|
||||
LoadCredential = [ "config:${config.age.secrets.nitter-config.path}" ];
|
||||
Environment = [ "NITTER_CONF_FILE=%d/config" ];
|
||||
Environment = [
|
||||
"NITTER_CONF_FILE=%d/config"
|
||||
"NITTER_ACCOUNTS_FILE=/var/lib/nitter/guest_accounts.json"
|
||||
];
|
||||
# Some parts of Nitter expect `public` folder in working directory,
|
||||
# see https://github.com/zedeus/nitter/issues/414
|
||||
WorkingDirectory = "${nitter-pkg}/share/nitter";
|
||||
|
|
Loading…
Reference in a new issue