Modules/Firefox: Fix (?) bookmarks structure
This commit is contained in:
@ -5,8 +5,10 @@ let
|
|||||||
};
|
};
|
||||||
in [
|
in [
|
||||||
{
|
{
|
||||||
name = "NixOS";
|
|
||||||
toolbar = true;
|
toolbar = true;
|
||||||
|
bookmarks = [
|
||||||
|
{
|
||||||
|
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?")
|
||||||
@ -29,7 +31,6 @@ in [
|
|||||||
|
|
||||||
{
|
{
|
||||||
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/")
|
||||||
@ -54,7 +55,6 @@ in [
|
|||||||
|
|
||||||
{
|
{
|
||||||
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")
|
||||||
@ -82,4 +82,6 @@ in [
|
|||||||
(bookmark "ECR" "https://gallery.ecr.aws/")
|
(bookmark "ECR" "https://gallery.ecr.aws/")
|
||||||
(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/")
|
||||||
|
];
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -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