custom: add domain option
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
0044bdcfce
commit
311aa76294
4 changed files with 8 additions and 8 deletions
|
@ -246,7 +246,7 @@ in {
|
||||||
{
|
{
|
||||||
name = "Piped";
|
name = "Piped";
|
||||||
shortcut = "p";
|
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";
|
name = "SearXNG";
|
||||||
shortcut = "s";
|
shortcut = "s";
|
||||||
url = "https://search.bjork.tech/search?q={searchTerms}";
|
url = "https://search.${config.custom.domain}/search?q={searchTerms}";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -468,8 +468,8 @@ in {
|
||||||
{
|
{
|
||||||
Name = "Piped";
|
Name = "Piped";
|
||||||
Alias = "p";
|
Alias = "p";
|
||||||
IconURL = "https://piped.bjork.tech/favicon.ico";
|
IconURL = "https://piped.${config.custom.domain}/favicon.ico";
|
||||||
URLTemplate = "https://piped.bjork.tech/results?search_query={searchTerms}";
|
URLTemplate = "https://piped.${config.custom.domain}/results?search_query={searchTerms}";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -503,8 +503,8 @@ in {
|
||||||
{
|
{
|
||||||
Name = "SearXNG";
|
Name = "SearXNG";
|
||||||
Alias = "s";
|
Alias = "s";
|
||||||
IconURL = "https://search.bjork.tech/static/themes/simple/img/favicon.png";
|
IconURL = "https://search.${config.custom.domain}/static/themes/simple/img/favicon.png";
|
||||||
URLTemplate = "https://search.bjork.tech/search?q={searchTerms}";
|
URLTemplate = "https://search.${config.custom.domain}/search?q={searchTerms}";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,7 +14,7 @@ in {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Myned";
|
userName = "Myned";
|
||||||
userEmail = "dev@bjork.tech";
|
userEmail = "dev@${config.custom.domain}";
|
||||||
|
|
||||||
# BUG: GitHub Desktop tries to enable if this is not in gitconfig
|
# BUG: GitHub Desktop tries to enable if this is not in gitconfig
|
||||||
lfs.enable = true; # Enable Large File Storage
|
lfs.enable = true; # Enable Large File Storage
|
||||||
|
|
|
@ -30,7 +30,7 @@ in {
|
||||||
--no-align \
|
--no-align \
|
||||||
--quiet \
|
--quiet \
|
||||||
--command 'SELECT DISTINCT(channel) FROM users_subscribed' | \
|
--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/{}'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue