feat: better modules aragement.
This commit is contained in:
parent
de11ee0676
commit
6e967a751f
49 changed files with 27 additions and 19 deletions
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
crony.browsers.librewolf.enable = lib.mkEnableOption "Enable librewolf and related options";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.crony.browsers.librewolf.enable {
|
||||
# Install librewolf
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = with pkgs; [
|
||||
tridactyl-native
|
||||
bukubrow
|
||||
keepassxc
|
||||
];
|
||||
};
|
||||
|
||||
# This tricks messaging hosts into working for no
|
||||
# real reason other than to make me rage at hour of debugging
|
||||
# (5 hours in total)
|
||||
programs.firefox = {
|
||||
package = pkgs.librewolf;
|
||||
enable = true;
|
||||
nativeMessagingHosts = with pkgs; [
|
||||
tridactyl-native
|
||||
bukubrow
|
||||
keepassxc
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue