fix: integrate keepassxc browser on all firefox-based browsers
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
{ inputs, pkgs }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
}:
|
||||
|
||||
let
|
||||
bookmarks = import ./bookmarks.nix;
|
||||
in
|
||||
|
||||
{
|
||||
nativeMessagingHosts = with pkgs; [
|
||||
tridactyl-native
|
||||
];
|
||||
nativeMessagingHosts =
|
||||
with pkgs;
|
||||
[
|
||||
tridactyl-native
|
||||
]
|
||||
++ lib.optionals config.programs.keepassxc.enable [ keepassxc ];
|
||||
profiles = {
|
||||
default = {
|
||||
settings = {
|
||||
|
||||
@@ -1,10 +1,16 @@
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = lib.mkIf (config.browser.primary == "firefox" || config.browser.secondary == "firefox") {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
}
|
||||
// (import ./firefox-base.nix { inherit inputs pkgs; });
|
||||
// (import ./firefox-base.nix { inherit config inputs pkgs; });
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config =
|
||||
@@ -7,6 +13,6 @@
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
}
|
||||
// (import ./firefox-base.nix { inherit inputs pkgs; });
|
||||
// (import ./firefox-base.nix { inherit config inputs pkgs; });
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,5 +7,4 @@
|
||||
Browser.Enabled = true;
|
||||
};
|
||||
};
|
||||
# programs.firefox.nativeMessagingHosts = [ pkgs.keepassxc ]; # FIXME: Resolve 'Access error for config file $HOME/.config/keepassxc/keepassxc.ini' error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user