Modules/Firefox: Fix (?) bookmarks structure
This commit is contained in:
@ -5,8 +5,12 @@ let
|
|||||||
};
|
};
|
||||||
in [
|
in [
|
||||||
{
|
{
|
||||||
name = "NixOS";
|
|
||||||
toolbar = true;
|
toolbar = true;
|
||||||
|
bookmarks = [
|
||||||
|
# NixOS
|
||||||
|
|
||||||
|
{
|
||||||
|
name = "NixOS";
|
||||||
bookmarks = [
|
bookmarks = [
|
||||||
(bookmark "Package Search" "https://search.nixos.org/packages")
|
(bookmark "Package Search" "https://search.nixos.org/packages")
|
||||||
(bookmark "Option Search" "https://search.nixos.org/options?")
|
(bookmark "Option Search" "https://search.nixos.org/options?")
|
||||||
@ -24,12 +28,12 @@ in [
|
|||||||
}
|
}
|
||||||
(bookmark "Searchix" "https://searchix.ovh/")
|
(bookmark "Searchix" "https://searchix.ovh/")
|
||||||
(bookmark "Latest" "https://discourse.nixos.org/latest")
|
(bookmark "Latest" "https://discourse.nixos.org/latest")
|
||||||
|
|
||||||
"separator"
|
"separator"
|
||||||
|
|
||||||
|
# HomeLab
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "Lab";
|
name = "Lab";
|
||||||
toolbar = true;
|
|
||||||
bookmarks = [
|
bookmarks = [
|
||||||
(bookmark "LAN Smart Switch" "http://192.168.86.2/")
|
(bookmark "LAN Smart Switch" "http://192.168.86.2/")
|
||||||
(bookmark "WiFi Access Point" "http://192.168.86.3/")
|
(bookmark "WiFi Access Point" "http://192.168.86.3/")
|
||||||
@ -48,13 +52,13 @@ in [
|
|||||||
(bookmark "HASS" "https://hass.think.chriphost.de/lovelace")
|
(bookmark "HASS" "https://hass.think.chriphost.de/lovelace")
|
||||||
(bookmark "Docs" "https://paperless.local.chriphost.de/documents?sort=created&reverse=1&page=1")
|
(bookmark "Docs" "https://paperless.local.chriphost.de/documents?sort=created&reverse=1&page=1")
|
||||||
(bookmark "Gitea" "https://gitea.local.chriphost.de/christoph")
|
(bookmark "Gitea" "https://gitea.local.chriphost.de/christoph")
|
||||||
(bookmark "AI" "http://localhost:11435/")
|
(bookmark "Chat" "http://localhost:11435/")
|
||||||
|
|
||||||
"separator"
|
"separator"
|
||||||
|
|
||||||
|
# Coding
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "Coding";
|
name = "Coding";
|
||||||
toolbar = true;
|
|
||||||
bookmarks = [
|
bookmarks = [
|
||||||
(bookmark "C++Ref" "https://en.cppreference.com/w/")
|
(bookmark "C++Ref" "https://en.cppreference.com/w/")
|
||||||
(bookmark "Rust" "https://doc.rust-lang.org/stable/book/ch03-00-common-programming-concepts.html")
|
(bookmark "Rust" "https://doc.rust-lang.org/stable/book/ch03-00-common-programming-concepts.html")
|
||||||
@ -65,21 +69,24 @@ in [
|
|||||||
(bookmark "GH" "https://github.com/churl")
|
(bookmark "GH" "https://github.com/churl")
|
||||||
(bookmark "GL" "https://gitlab.com/churl")
|
(bookmark "GL" "https://gitlab.com/churl")
|
||||||
(bookmark "SO" "https://stackoverflow.com/users/saves/17337508/all")
|
(bookmark "SO" "https://stackoverflow.com/users/saves/17337508/all")
|
||||||
(bookmark "HN" "https://news.ycombinator.com/news")
|
|
||||||
(bookmark "Heise" "https://www.heise.de/")
|
|
||||||
(bookmark "Spiegel" "https://www.spiegel.de/")
|
|
||||||
(bookmark "Reddit" "https://www.reddit.com/user/FightingMushroom/saved/")
|
|
||||||
|
|
||||||
"separator"
|
|
||||||
|
|
||||||
(bookmark "F10" "https://f10.local.chriphost.de/race/Everyone")
|
|
||||||
(bookmark "F11" "https://f11.local.chriphost.de/racepicks")
|
|
||||||
(bookmark "F11PB" "https://f11pb.local.chriphost.de/_/#/collections?collection=pbc_1736455494&filter=&sort=-%40rowid")
|
|
||||||
(bookmark "RegEx" "https://regex101.com/")
|
(bookmark "RegEx" "https://regex101.com/")
|
||||||
(bookmark "Shell" "https://explainshell.com/")
|
(bookmark "Shell" "https://explainshell.com/")
|
||||||
(bookmark "CDecl" "https://cdecl.org/")
|
(bookmark "CDecl" "https://cdecl.org/")
|
||||||
(bookmark "ISBNDB" "https://isbndb.com/")
|
|
||||||
(bookmark "ECR" "https://gallery.ecr.aws/")
|
(bookmark "ECR" "https://gallery.ecr.aws/")
|
||||||
|
"separator"
|
||||||
|
|
||||||
|
# Stuff
|
||||||
|
|
||||||
|
(bookmark "Spiegel" "https://www.spiegel.de/")
|
||||||
|
(bookmark "Heise" "https://www.heise.de/")
|
||||||
|
(bookmark "HN" "https://news.ycombinator.com/news")
|
||||||
|
(bookmark "Reddit" "https://www.reddit.com/user/FightingMushroom/saved/")
|
||||||
|
(bookmark "F10" "https://f10.local.chriphost.de/race/Everyone")
|
||||||
|
(bookmark "F11" "https://f11.local.chriphost.de/racepicks")
|
||||||
|
(bookmark "F11PB" "https://f11pb.local.chriphost.de/_/#/collections?collection=pbc_1736455494&filter=&sort=-%40rowid")
|
||||||
|
(bookmark "ISBNDB" "https://isbndb.com/")
|
||||||
(bookmark "Music" "https://bandcamp.com/chriphost")
|
(bookmark "Music" "https://bandcamp.com/chriphost")
|
||||||
(bookmark "Albums" "https://www.albumoftheyear.org/user/chriphost/list/307966/2025/")
|
(bookmark "Albums" "https://www.albumoftheyear.org/user/chriphost/list/307966/2025/")
|
||||||
|
];
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
@ -73,7 +73,7 @@ in {
|
|||||||
WebSuggestions = false;
|
WebSuggestions = false;
|
||||||
};
|
};
|
||||||
HardwareAcceleration = true;
|
HardwareAcceleration = true;
|
||||||
NoDefaultBookmarks = true;
|
# NoDefaultBookmarks = true; # Prevents HM from applying bookmarks
|
||||||
OfferToSaveLogins = false;
|
OfferToSaveLogins = false;
|
||||||
PictureInPicture = true;
|
PictureInPicture = true;
|
||||||
SanitizeOnShutdown = {
|
SanitizeOnShutdown = {
|
||||||
@ -230,12 +230,13 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
settings = lib.mkMerge [
|
settings = lib.mkMerge [
|
||||||
(builtins.readFile ./settings.nix)
|
(import ./settings.nix)
|
||||||
|
|
||||||
{
|
{
|
||||||
# NOTE: This has to be updated when something is changed inside firefox...
|
# NOTE: This has to be updated when something is changed inside firefox...
|
||||||
"browser.uiCustomization.state" = builtins.readFile ./customizationState.json;
|
"browser.uiCustomization.state" = builtins.readFile ./customizationState.json;
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = firefox.disableTabBar;
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = firefox.disableTabBar;
|
||||||
|
"identity.fxaccounts.account.device.name" = hostname;
|
||||||
}
|
}
|
||||||
|
|
||||||
(lib.optionalAttrs firefox.vaapi {
|
(lib.optionalAttrs firefox.vaapi {
|
||||||
|
@ -75,8 +75,6 @@
|
|||||||
"geo.provider.network.url" = "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%";
|
"geo.provider.network.url" = "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%";
|
||||||
"geo.provider.use_gpsd" = false;
|
"geo.provider.use_gpsd" = false;
|
||||||
|
|
||||||
"identity.fxaccounts.account.device.name" = hostname;
|
|
||||||
|
|
||||||
"media.hardwaremediakeys.enabled" = false; # Do not interfere with spotify
|
"media.hardwaremediakeys.enabled" = false; # Do not interfere with spotify
|
||||||
"media.videocontrols.picture-in-picture.video-toggle.enabled" = true;
|
"media.videocontrols.picture-in-picture.video-toggle.enabled" = true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user