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