nixify firefox extensions

Changed files
+92 -8
home
+70 -4
flake.lock
···
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
+
"flake-parts": {
+
"inputs": {
+
"nixpkgs-lib": [
+
"nur",
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1733312601,
+
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
+
"owner": "hercules-ci",
+
"repo": "flake-parts",
+
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
+
"type": "github"
+
},
+
"original": {
+
"owner": "hercules-ci",
+
"repo": "flake-parts",
+
"type": "github"
+
}
+
},
"flake-utils": {
"locked": {
"lastModified": 1676283394,
···
},
"nixpkgs_2": {
"locked": {
-
"lastModified": 1733808091,
-
"narHash": "sha256-KWwINTQelKOoQgrXftxoqxmKFZb9pLVfnRvK270nkVk=",
+
"lastModified": 1734083684,
+
"narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=",
"owner": "nixos",
"repo": "nixpkgs",
-
"rev": "a0f3e10d94359665dba45b71b4227b0aeb851f8e",
+
"rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84",
"type": "github"
},
"original": {
···
"type": "gitlab"
}
},
+
"nur": {
+
"inputs": {
+
"flake-parts": "flake-parts",
+
"nixpkgs": [
+
"nixpkgs"
+
],
+
"treefmt-nix": "treefmt-nix"
+
},
+
"locked": {
+
"lastModified": 1734248796,
+
"narHash": "sha256-mG+0Lw/oz/RCOlGlAmc2Rzvz/ijUWLiK6hyYoSau5bE=",
+
"owner": "nix-community",
+
"repo": "NUR",
+
"rev": "e9e77b7985ef9bdeca12a38523c63d47555cc89b",
+
"type": "github"
+
},
+
"original": {
+
"owner": "nix-community",
+
"repo": "NUR",
+
"rev": "e9e77b7985ef9bdeca12a38523c63d47555cc89b",
+
"type": "github"
+
}
+
},
"opam-nix": {
"inputs": {
"flake-compat": "flake-compat_3",
···
"nixpkgs": "nixpkgs_2",
"nixpkgs-compat": "nixpkgs-compat",
"nixpkgs-element": "nixpkgs-element",
-
"nixpkgs-unstable": "nixpkgs-unstable"
+
"nixpkgs-unstable": "nixpkgs-unstable",
+
"nur": "nur"
},
"scss-reset": {
···
"original": {
"owner": "nix-systems",
"repo": "default",
+
"type": "github"
+
}
+
},
+
"treefmt-nix": {
+
"inputs": {
+
"nixpkgs": [
+
"nur",
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1733222881,
+
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
+
"owner": "numtide",
+
"repo": "treefmt-nix",
+
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
+
"type": "github"
+
},
+
"original": {
+
"owner": "numtide",
+
"repo": "treefmt-nix",
"type": "github"
},
+4
flake.nix
···
i3-workspace-history.url = "github:RyanGibb/i3-workspace-history";
hyperbib-eeg.url = "github:RyanGibb/hyperbib?ref=nixify";
nix-rpi5.url = "gitlab:vriska/nix-rpi5?ref=main";
+
nur.url = "github:nix-community/NUR/e9e77b7985ef9bdeca12a38523c63d47555cc89b";
# deduplicate flake inputs
eilean.inputs.nixpkgs.follows = "nixpkgs";
···
i3-workspace-history.inputs.nixpkgs.follows = "nixpkgs";
hyperbib-eeg.inputs.nixpkgs.follows = "nixpkgs";
nix-rpi5.inputs.nixpkgs.follows = "nixpkgs";
+
nur.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
···
deploy-rs,
nix-on-droid,
eilean,
+
nur,
...
}@inputs:
let
···
config = nixpkgsConfig;
}).element-desktop;
})
+
nur.overlays.default
];
in
{
+18 -4
home/gui.nix
···
"services.sync.prefs.sync.browser.uiCustomization.state" = true;
"extensions.pocket.enabled" = false;
+
+
"extensions.autoDisableScopes" = 0;
};
userChrome = ''
#webrtcIndicator {
···
visibility: collapse;
}
'';
+
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
+
auto-tab-discard
+
bitwarden
+
multi-account-containers
+
news-feed-eradicator
+
istilldontcareaboutcookies
+
leechblock-ng
+
search-by-image
+
simple-translate
+
tree-style-tab
+
tridactyl
+
ublock-origin
+
zotero-connector
+
];
in
{
enable = true;
profiles.default = {
-
settings = settings;
-
userChrome = userChrome;
+
inherit settings userChrome extensions;
};
profiles.secondary = {
+
inherit settings userChrome extensions;
id = 1;
isDefault = false;
-
settings = settings;
-
userChrome = userChrome;
};
package = (
pkgs.firefox.override {