mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 21:19:07 +01:00
Compare commits
3 commits
2bc59a7438
...
571ec8ecb1
| Author | SHA1 | Date | |
|---|---|---|---|
| 571ec8ecb1 | |||
| 590937185b | |||
| 015784b6bd |
2 changed files with 137 additions and 15 deletions
|
|
@ -9,6 +9,13 @@
|
|||
let
|
||||
cfg = config.custom.programs.firefox;
|
||||
|
||||
firefoxAddons =
|
||||
(import inputs.nixpkgs {
|
||||
inherit (pkgs.stdenv.hostPlatform) system;
|
||||
config.allowUnfree = true;
|
||||
overlays = [ inputs.firefox-addons.overlays.default ];
|
||||
}).firefox-addons;
|
||||
|
||||
mkExtension =
|
||||
{
|
||||
name,
|
||||
|
|
@ -19,9 +26,7 @@ let
|
|||
{
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "file:///${
|
||||
inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system}.${name}
|
||||
}/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/${uuid}.xpi";
|
||||
install_url = "file:///${firefoxAddons.${name}}/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/${uuid}.xpi";
|
||||
installation_mode = "force_installed";
|
||||
default_area = defaultArea;
|
||||
};
|
||||
|
|
@ -90,6 +95,7 @@ in
|
|||
return-youtube-dislikes.uuid = "{762f9885-5a13-4abd-9c77-433dcd38b8fd}";
|
||||
sponsorblock.uuid = "sponsorBlocker@ajay.app";
|
||||
clearurls.uuid = "{74145f27-f039-47ce-a470-a662b129930a}";
|
||||
languagetool.uuid = "languagetool-webextension@languagetool.org";
|
||||
karakeep = {
|
||||
uuid = "addon@karakeep.app";
|
||||
defaultArea = "navbar";
|
||||
|
|
@ -109,7 +115,6 @@ in
|
|||
"browser.uiCustomization.state" = uiState;
|
||||
"browser.startup.homepage" = lib.mkIf (cfg.homepage != null) cfg.homepage;
|
||||
"sidebar.position_start" = false;
|
||||
"browser.toolbars.bookmarks.visibility" = "always";
|
||||
"browser.bookmarks.restore_default_bookmarks" = false;
|
||||
"browser.bookmarks.file" = "";
|
||||
"media.videocontrols.picture-in-picture.video-toggle.enabled" = false;
|
||||
|
|
|
|||
|
|
@ -82,7 +82,8 @@ in
|
|||
name = "Home";
|
||||
center-vertically = true;
|
||||
|
||||
columns = lib.singleton {
|
||||
columns = [
|
||||
{
|
||||
size = "full";
|
||||
widgets =
|
||||
lib.singleton {
|
||||
|
|
@ -92,7 +93,123 @@ in
|
|||
}
|
||||
++ applicationSites
|
||||
++ observabilitySites;
|
||||
}
|
||||
{
|
||||
size = "small";
|
||||
widgets = lib.singleton {
|
||||
type = "bookmarks";
|
||||
groups = [
|
||||
{
|
||||
links = [
|
||||
{
|
||||
title = "YouTube";
|
||||
url = "https://www.youtube.com/";
|
||||
}
|
||||
{
|
||||
title = "DeepL";
|
||||
url = "https://www.deepl.com/en/translator";
|
||||
}
|
||||
{
|
||||
title = "GitHub";
|
||||
url = "https://github.com/SebastianStork";
|
||||
}
|
||||
{
|
||||
title = "ChatGBT";
|
||||
url = "https://chatgpt.com/";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
title = "Email";
|
||||
links = [
|
||||
{
|
||||
title = "Mailbox";
|
||||
url = "https://app.mailbox.org/appsuite/#!!&app=io.ox/mail&folder=default0/INBOX";
|
||||
}
|
||||
{
|
||||
title = "Proton";
|
||||
url = "https://mail.proton.me/u/1/inbox";
|
||||
}
|
||||
{
|
||||
title = "h_da";
|
||||
url = "https://webmail.stud.h-da.de/stud/?_task=mail&_mbox=INBOX";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
title = "Nix";
|
||||
color = "200 50 50";
|
||||
links = [
|
||||
{
|
||||
title = "Wiki";
|
||||
url = "https://wiki.nixos.org/wiki/Main_Page";
|
||||
}
|
||||
{
|
||||
title = "Packages Search";
|
||||
url = "https://search.nixos.org/packages";
|
||||
}
|
||||
{
|
||||
title = "NixOS Options Search";
|
||||
url = "https://search.nixos.org/options";
|
||||
}
|
||||
{
|
||||
title = "HM Options Search";
|
||||
url = "https://home-manager-options.extranix.com/";
|
||||
}
|
||||
{
|
||||
title = "Function Search";
|
||||
url = "https://home-manager-options.extranix.com/";
|
||||
}
|
||||
{
|
||||
title = "NixOS Manual";
|
||||
url = "https://nixos.org/manual/nixos/stable/";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
title = "Infra";
|
||||
color = "140 70 50";
|
||||
links = [
|
||||
{
|
||||
title = "Backblaze";
|
||||
url = "https://secure.backblaze.com/b2_buckets.htm";
|
||||
}
|
||||
{
|
||||
title = "Healthchecks";
|
||||
url = "https://healthchecks.io/projects/ed5214d3-971f-4b66-997d-8ffd0d8cd4ca/checks/";
|
||||
}
|
||||
{
|
||||
title = "Hetzner";
|
||||
url = "https://console.hetzner.cloud/projects/10289618/servers";
|
||||
}
|
||||
{
|
||||
title = "Porkbun";
|
||||
url = "https://porkbun.com/";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
title = "Uni";
|
||||
color = "10 70 50";
|
||||
links = [
|
||||
{
|
||||
title = "My";
|
||||
url = "https://my.h-da.de/";
|
||||
}
|
||||
{
|
||||
title = "Moodle";
|
||||
url = "https://lernen.h-da.de/";
|
||||
}
|
||||
{
|
||||
title = "GitLab";
|
||||
url = "https://code.fbi.h-da.de/";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue