env: add electrum, metamask
This commit is contained in:
parent
390bf09c8a
commit
2d03f0d647
|
@ -89,7 +89,7 @@
|
|||
|
||||
decl-machine = { name, system, extraModules ? [] }: (nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
pkgs = self.genpkgs."${system}".pkgs;
|
||||
pkgs = self.genpkgs.${system}.pkgs;
|
||||
specialArgs = { inherit home-manager; inherit nurpkgs; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
|
@ -141,11 +141,14 @@
|
|||
# gitea: 1.16.5 contains a fix which makes manual user approval *actually* work.
|
||||
# https://github.com/go-gitea/gitea/pull/19119
|
||||
# safe to remove after 1.16.5 (or 1.16.7 if we need db compat?)
|
||||
gitea = pkgs-gitea.legacyPackages."${system}".gitea;
|
||||
gitea = pkgs-gitea.legacyPackages.${system}.gitea;
|
||||
|
||||
# nixos-21.11 whalebird uses an insecure electron version.
|
||||
# TODO: remove this on next nixos release.
|
||||
whalebird = pkgs-unstable.legacyPackages.${system}.whalebird;
|
||||
|
||||
# we care about keeping these packages up-to-date
|
||||
electrum = pkgs-unstable.legacyPackages.${system}.electrum;
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# docs:
|
||||
# https://rycee.gitlab.io/home-manager/
|
||||
# https://rycee.gitlab.io/home-manager/options.html
|
||||
# man home-configuration.nix
|
||||
#
|
||||
|
||||
# system is e.g. x86_64-linux
|
||||
# gui is "gnome", or null
|
||||
|
@ -69,21 +71,24 @@
|
|||
|
||||
programs.firefox = lib.mkIf (gui != null) {
|
||||
enable = true;
|
||||
# empty profile required to allow extensions below
|
||||
profiles.default = {
|
||||
# settings = {
|
||||
# "browser.urlbar.placeholderName" = "DuckDuckGo";
|
||||
# };
|
||||
|
||||
profiles.default = {
|
||||
bookmarks = {
|
||||
fed_uninsane.url = "https://fed.uninsane.org/";
|
||||
delightful.url = "https://delightful.club/";
|
||||
};
|
||||
};
|
||||
|
||||
# firefox profile support seems to be broken :shrug:
|
||||
# profiles.other = {
|
||||
# id = 2;
|
||||
# };
|
||||
|
||||
# NB: these must be manually enabled in the Firefox settings on first start
|
||||
# extensions can be found here: https://gitlab.com/rycee/nur-expressions/-/blob/master/pkgs/firefox-addons/addons.json
|
||||
extensions = [
|
||||
pkgs.nur.repos.rycee.firefox-addons.bypass-paywalls-clean
|
||||
pkgs.nur.repos.rycee.firefox-addons.metamask
|
||||
pkgs.nur.repos.rycee.firefox-addons.i-dont-care-about-cookies
|
||||
pkgs.nur.repos.rycee.firefox-addons.sidebery
|
||||
pkgs.nur.repos.rycee.firefox-addons.sponsorblock
|
||||
|
|
|
@ -11,5 +11,8 @@
|
|||
inherit pkgs lib;
|
||||
system = "x86_64-linux";
|
||||
gui = "gnome";
|
||||
extraPackages = [
|
||||
pkgs.electrum
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user