fix(nix/floorp): Wrong native messaging hosts path for macOS

This commit is contained in:
Ahmad Ansori Palembani 2024-10-26 08:25:26 +07:00
parent 76a6a839cb
commit ec18157ac0
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 4 additions and 2 deletions

View file

@ -8,6 +8,8 @@
browsers = [ "brave" "chrome" ]; # Arc and Chrome share the same `Application Support` dir, not sure why tbh. browsers = [ "brave" "chrome" ]; # Arc and Chrome share the same `Application Support` dir, not sure why tbh.
}; };
home.file."Library/Application Support/Floorp/native-messaging-hosts/passff.json".source = "${pkgs.passff-host}/share/passff-host/passff.json";
# Swap CapsLock with Esc for better vi-mode experience. # Swap CapsLock with Esc for better vi-mode experience.
launchd.agents.CapsEscSwap = { launchd.agents.CapsEscSwap = {
enable = true; enable = true;

View file

@ -16,7 +16,5 @@
''; '';
}; };
home.file.".floorp/native-messaging-hosts/passff.json".source = "${pkgs.passff-host}/share/passff-host/passff.json";
home.stateVersion = "24.11"; home.stateVersion = "24.11";
} }

View file

@ -2,4 +2,6 @@
{ {
home.homeDirectory = "/home/ziro"; home.homeDirectory = "/home/ziro";
home.file.".floorp/native-messaging-hosts/passff.json".source = "${pkgs.passff-host}/share/passff-host/passff.json";
} }