1
1
Fork 0

custom: add domain option

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-09 18:45:10 -06:00
parent 0044bdcfce
commit 311aa76294
Signed by: Myned
GPG key ID: C7224454F7881A34
4 changed files with 8 additions and 8 deletions

View file

@ -246,7 +246,7 @@ in {
{
name = "Piped";
shortcut = "p";
url = "https://piped.bjork.tech/results?search_query={searchTerms}";
url = "https://piped.${config.custom.domain}/results?search_query={searchTerms}";
}
{
@ -276,7 +276,7 @@ in {
{
name = "SearXNG";
shortcut = "s";
url = "https://search.bjork.tech/search?q={searchTerms}";
url = "https://search.${config.custom.domain}/search?q={searchTerms}";
}
{

View file

@ -468,8 +468,8 @@ in {
{
Name = "Piped";
Alias = "p";
IconURL = "https://piped.bjork.tech/favicon.ico";
URLTemplate = "https://piped.bjork.tech/results?search_query={searchTerms}";
IconURL = "https://piped.${config.custom.domain}/favicon.ico";
URLTemplate = "https://piped.${config.custom.domain}/results?search_query={searchTerms}";
}
{
@ -503,8 +503,8 @@ in {
{
Name = "SearXNG";
Alias = "s";
IconURL = "https://search.bjork.tech/static/themes/simple/img/favicon.png";
URLTemplate = "https://search.bjork.tech/search?q={searchTerms}";
IconURL = "https://search.${config.custom.domain}/static/themes/simple/img/favicon.png";
URLTemplate = "https://search.${config.custom.domain}/search?q={searchTerms}";
}
{

View file

@ -14,7 +14,7 @@ in {
programs.git = {
enable = true;
userName = "Myned";
userEmail = "dev@bjork.tech";
userEmail = "dev@${config.custom.domain}";
# BUG: GitHub Desktop tries to enable if this is not in gitconfig
lfs.enable = true; # Enable Large File Storage

View file

@ -30,7 +30,7 @@ in {
--no-align \
--quiet \
--command 'SELECT DISTINCT(channel) FROM users_subscribed' | \
${parallel} ${curl} --silent --output /dev/null 'https://pipedapi.bjork.tech/channel/{}'
${parallel} ${curl} --silent --output /dev/null 'https://pipedapi.${config.custom.domain}/channel/{}'
'';
};