mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 07:04:47 +00:00
helium darwin
This commit is contained in:
parent
c979d4dbbb
commit
2c0ab0a508
3 changed files with 24 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
]
|
]
|
||||||
++ lib.optionals hostConfig.isDarwin [
|
++ lib.optionals hostConfig.isDarwin [
|
||||||
./colima.nix
|
./colima.nix
|
||||||
|
./helium.nix
|
||||||
./rectangle.nix
|
./rectangle.nix
|
||||||
./karabiner.nix
|
./karabiner.nix
|
||||||
]
|
]
|
||||||
|
|
|
||||||
22
home/helium.nix
Normal file
22
home/helium.nix
Normal 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)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
casks = [
|
casks = [
|
||||||
"cap"
|
"cap"
|
||||||
|
"helium-browser"
|
||||||
"karabiner-elements"
|
"karabiner-elements"
|
||||||
"rectangle"
|
"rectangle"
|
||||||
"raycast"
|
"raycast"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue