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";
|
||||
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}";
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
@ -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}";
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/{}'
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue