helium darwin (#67)

This commit is contained in:
Hari 2026-04-04 19:21:49 -04:00 committed by GitHub
parent c979d4dbbb
commit b5abb31094
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 0 deletions

View file

@ -9,6 +9,7 @@
]
++ lib.optionals hostConfig.isDarwin [
./colima.nix
./helium.nix
./rectangle.nix
./karabiner.nix
]

22
home/helium.nix Normal file
View file

@ -0,0 +1,22 @@
{ ... }:
let
extensions = {
"ddkjiahejlhfcafbddmgiahcphecmpfh" = "uBlock Origin Lite";
"fcoeoabgfenejglbffodgkkbkcdhcgfn" = "Claude for Chrome";
"nngceckbapebfimnlniiiahkandclblb" = "Bitwarden";
};
extJson = builtins.toJSON {
external_update_url = "https://clients2.google.com/service/update2/crx";
};
extDir = "Library/Application Support/net.imput.helium/External Extensions";
in
{
home.file = builtins.listToAttrs (
builtins.map (id: {
name = "${extDir}/${id}.json";
value.text = extJson;
}) (builtins.attrNames extensions)
);
}

View file

@ -20,6 +20,7 @@
casks = [
"cap"
"helium-browser"
"karabiner-elements"
"rectangle"
"raycast"