fix: integrate keepassxc browser on all firefox-based browsers
This commit is contained in:
@@ -1,13 +1,20 @@
|
|||||||
{ inputs, pkgs }:
|
{
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
bookmarks = import ./bookmarks.nix;
|
bookmarks = import ./bookmarks.nix;
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
nativeMessagingHosts = with pkgs; [
|
nativeMessagingHosts =
|
||||||
tridactyl-native
|
with pkgs;
|
||||||
];
|
[
|
||||||
|
tridactyl-native
|
||||||
|
]
|
||||||
|
++ lib.optionals config.programs.keepassxc.enable [ keepassxc ];
|
||||||
profiles = {
|
profiles = {
|
||||||
default = {
|
default = {
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,10 +1,16 @@
|
|||||||
{ config, lib, inputs, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
config = lib.mkIf (config.browser.primary == "firefox" || config.browser.secondary == "firefox") {
|
config = lib.mkIf (config.browser.primary == "firefox" || config.browser.secondary == "firefox") {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
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 =
|
config =
|
||||||
@@ -7,6 +13,6 @@
|
|||||||
programs.librewolf = {
|
programs.librewolf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
}
|
}
|
||||||
// (import ./firefox-base.nix { inherit inputs pkgs; });
|
// (import ./firefox-base.nix { inherit config inputs pkgs; });
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,5 +7,4 @@
|
|||||||
Browser.Enabled = true;
|
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