handle element url

This commit is contained in:
Dmitriy Kholkin 2023-04-15 03:20:22 +03:00
parent 60bf7127d6
commit d6f553d519
5 changed files with 21 additions and 4 deletions

View File

@ -76,6 +76,7 @@
# "text/csv" = spreadsheet; # "text/csv" = spreadsheet;
# "application/vnd.oasis.opendocument.spreadsheet" = spreadsheet; # "application/vnd.oasis.opendocument.spreadsheet" = spreadsheet;
"text/plain" = editor; "text/plain" = editor;
"x-scheme-handler/element" = matrix;
}; };
}; };
}; };

View File

@ -75,7 +75,7 @@ in {
"general.autoScroll" = true; "general.autoScroll" = true;
"extensions.pocket.enabled" = false; "extensions.pocket.enabled" = false;
"browser.startup.page" = 1; "browser.startup.page" = 1;
"browser.startup.homepage" = "https://startpage.ataraxiadev.com"; "browser.startup.homepage" = "https://ataraxiadev.com";
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.search.suggest.enabled" = true; "browser.search.suggest.enabled" = true;
"ui.context_menus.after_mouseup" = true; "ui.context_menus.after_mouseup" = true;
@ -98,6 +98,7 @@ in {
"experiments.supported" = false; "experiments.supported" = false;
"network.allow-experiments" = false; "network.allow-experiments" = false;
"network.protocol-handler.external.element" = false;
# "identity.sync.tokenserver.uri" = "https://fsync.ataraxiadev.com/1.0/sync/1.5"; # "identity.sync.tokenserver.uri" = "https://fsync.ataraxiadev.com/1.0/sync/1.5";
}; };
extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user-js/profiles/user.js"}"; extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user-js/profiles/user.js"}";
@ -117,7 +118,7 @@ in {
"signon.rememberSignons" = false; "signon.rememberSignons" = false;
"general.autoScroll" = true; "general.autoScroll" = true;
"extensions.pocket.enabled" = false; "extensions.pocket.enabled" = false;
"browser.startup.homepage" = "https://startpage.ataraxiadev.com"; "browser.startup.homepage" = "https://ataraxiadev.com";
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.search.suggest.enabled" = true; "browser.search.suggest.enabled" = true;
"browser.urlbar.suggest.searches" = true; "browser.urlbar.suggest.searches" = true;
@ -144,6 +145,8 @@ in {
"experiments.enabled" = false; "experiments.enabled" = false;
"experiments.supported" = false; "experiments.supported" = false;
"network.allow-experiments" = false; "network.allow-experiments" = false;
"network.protocol-handler.external.element" = false;
}; };
extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user-js/profiles/user.js"}"; extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user-js/profiles/user.js"}";
}; };

View File

@ -65,7 +65,6 @@ with config.deviceSpecific; {
obs-studio obs-studio
pinta pinta
qbittorrent qbittorrent
schildichat-desktop-wayland
sonixd sonixd
tdesktop tdesktop
ungoogled-chromium ungoogled-chromium
@ -114,7 +113,6 @@ with config.deviceSpecific; {
# ".config/Pinta" # ".config/Pinta"
".config/qBittorrent" ".config/qBittorrent"
# ".config/qimgv" # ".config/qimgv"
".config/SchildiChat"
".config/Sonixd" ".config/Sonixd"
# ".config/xarchiver" # ".config/xarchiver"
".local/share/TelegramDesktop" ".local/share/TelegramDesktop"

View File

@ -0,0 +1,14 @@
{ config, pkgs, lib, ... }: {
home-manager.users.${config.mainuser}.home.packages = [
pkgs.schildichat-desktop-wayland
];
defaultApplications.matrix = {
cmd = "${pkgs.schildichat-desktop-wayland}/bin/schildichat-desktop";
desktop = "schildichat-desktop";
};
persist.state.homeDirectories = [
".config/SchildiChat"
];
}

View File

@ -23,6 +23,7 @@
packages packages
rclone rclone
rofi rofi
schildichat
spotify spotify
steam steam
tor-browser tor-browser