From cd7ad23381c3bb71e10003417661943f49b79670 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 11 Feb 2025 22:19:13 +0100 Subject: [PATCH] Make extensions that rely on host work. --- hosts/nixos/home.nix | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/home.nix b/hosts/nixos/home.nix index 6ffe306..29b0a8c 100644 --- a/hosts/nixos/home.nix +++ b/hosts/nixos/home.nix @@ -25,7 +25,6 @@ spice-gtk vesktop buku - bukubrow piper heroic prismlauncher @@ -43,7 +42,27 @@ ]; # Install librewolf - programs.librewolf.enable = true; + 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 + ]; + }; # Install foot programs.foot.enable = true;