mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 02:20:53 -06:00
chore: updated sops secrets
This commit is contained in:
parent
e341e5878f
commit
8cd193ec49
3 changed files with 10 additions and 46 deletions
|
|
@ -32,36 +32,6 @@ let
|
|||
log-level = "INFO";
|
||||
}
|
||||
);
|
||||
|
||||
fedifetcherPython = pkgs.python3.withPackages (
|
||||
ps: with ps; [
|
||||
requests
|
||||
pytz
|
||||
beautifulsoup4
|
||||
certifi
|
||||
charset-normalizer
|
||||
defusedxml
|
||||
docutils
|
||||
idna
|
||||
iniconfig
|
||||
packaging
|
||||
pluggy
|
||||
pytest
|
||||
python-dateutil
|
||||
requests
|
||||
six
|
||||
smmap
|
||||
urllib3
|
||||
xxhash
|
||||
]
|
||||
);
|
||||
|
||||
fedifetcherSrc = pkgs.fetchFromGitHub {
|
||||
owner = "nanos";
|
||||
repo = "FediFetcher";
|
||||
rev = "main";
|
||||
hash = "sha256-/J7psV/mA7okuuO7/aXVVWS9p63eMncG2CEEGN38ip0=";
|
||||
};
|
||||
in
|
||||
{
|
||||
# If you need to start fresh for some reason, run these to create the new Admin account:
|
||||
|
|
@ -343,7 +313,7 @@ in
|
|||
done
|
||||
|
||||
export ACCESS_TOKEN=$(cat /etc/mastodon-secrets/fedifetcher-token)
|
||||
${fedifetcherPython}/bin/python ${fedifetcherSrc}/find_posts.py \
|
||||
${pkgs.fedifetcher}/bin/fedifetcher \
|
||||
-c=${fedifetcherConfig} \
|
||||
--access-token="$ACCESS_TOKEN"
|
||||
'';
|
||||
|
|
@ -436,12 +406,6 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit
|
||||
fedifetcherPython
|
||||
;
|
||||
};
|
||||
|
||||
microvm = {
|
||||
vcpu = 2;
|
||||
mem = 1024 * 6;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue