1
0
Fork 0

Compare commits

..

No commits in common. "c950f7098e8b2e3d90ed7ac5180b1486ac98ae80" and "52bb282190b9f0a59867e1584943837292c7e195" have entirely different histories.

6 changed files with 3 additions and 16 deletions

View file

@ -97,11 +97,6 @@
file = ./nitter/config.age; file = ./nitter/config.age;
}; };
nitter-guest-accounts = {
file = ./nitter/guestAccounts.age;
mode = "555";
};
anonymous-overflow-config = { anonymous-overflow-config = {
file = ./anonymous-overflow/config.age; file = ./anonymous-overflow/config.age;
}; };

View file

@ -323,8 +323,8 @@ in
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "L3MON4D3"; owner = "L3MON4D3";
repo = "LuaSnip"; repo = "LuaSnip";
rev = "3657c3f3cb2214a681fc7e95b6ffb509d076ebfb"; rev = "a86bcf6bd729ca1ee90312bce9ca66a44f806764";
sha256 = "1w7jzcwkyikl4v5irb5yc0v5vs0k758mdwvgnscc9zzwsg6vs642"; sha256 = "10yzwxbnl8chcakr3hlc86jxhi1d8i9hbp5swfywabp4dhbyhbbv";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };

View file

@ -41,7 +41,6 @@ in
"agenix/hosts/tanker/mosquitto/passwordWeewx.age".publicKeys = tanker; "agenix/hosts/tanker/mosquitto/passwordWeewx.age".publicKeys = tanker;
"agenix/hosts/tanker/nitter/config.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; "agenix/hosts/tanker/anonymous-overflow/config.age".publicKeys = tanker;

View file

@ -24,9 +24,5 @@
access_log /var/log/nginx/access.log combined_anon buffer=32k flush=5m; access_log /var/log/nginx/access.log combined_anon buffer=32k flush=5m;
''; '';
appendConfig = ''
worker_processes auto;
'';
}; };
} }

View file

@ -15,10 +15,7 @@ in
DynamicUser = true; DynamicUser = true;
StateDirectory = "nitter"; StateDirectory = "nitter";
LoadCredential = [ "config:${config.age.secrets.nitter-config.path}" ]; LoadCredential = [ "config:${config.age.secrets.nitter-config.path}" ];
Environment = [ Environment = [ "NITTER_CONF_FILE=%d/config" ];
"NITTER_CONF_FILE=%d/config"
"NITTER_ACCOUNTS_FILE=/var/lib/nitter/guest_accounts.json"
];
# Some parts of Nitter expect `public` folder in working directory, # Some parts of Nitter expect `public` folder in working directory,
# see https://github.com/zedeus/nitter/issues/414 # see https://github.com/zedeus/nitter/issues/414
WorkingDirectory = "${nitter-pkg}/share/nitter"; WorkingDirectory = "${nitter-pkg}/share/nitter";