aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-10-27 11:50:20 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2026-10-27 11:50:20 +0100
commit163c2dee18ab2b197fe1fcf00cf32214b804fda6 (patch)
tree0ffc89feac452f202072c65f5765f02ee0882aba /modules
parentc541a5fe232ebc7fe8b96ee47499fccd36ea7856 (diff)
downloaddotfiles-163c2dee18ab2b197fe1fcf00cf32214b804fda6.tar.gz
dotfiles-163c2dee18ab2b197fe1fcf00cf32214b804fda6.zip
feat: add helium as default browser, just and asciinema
Diffstat (limited to 'modules')
-rw-r--r--modules/darwin/default.nix2
-rw-r--r--modules/darwin/homebrew.nix1
-rw-r--r--modules/home/default.nix1
-rw-r--r--modules/home/helium.nix12
4 files changed, 16 insertions, 0 deletions
diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix
index dd98a39..d23e795 100644
--- a/modules/darwin/default.nix
+++ b/modules/darwin/default.nix
@@ -109,6 +109,7 @@
# Task runners and automation
act
+ just
# Databases and database tools
# turso: the database engine (tursodb). turso-cli: the turso.tech cloud CLI.
@@ -122,6 +123,7 @@
rename
tree
tldr
+ asciinema
starship
gh
htop
diff --git a/modules/darwin/homebrew.nix b/modules/darwin/homebrew.nix
index 4b2da4d..51749e1 100644
--- a/modules/darwin/homebrew.nix
+++ b/modules/darwin/homebrew.nix
@@ -57,6 +57,7 @@
"ghostty"
"google-chrome"
"google-drive"
+ "helium-browser"
"loom"
"markdown-preview"
"microsoft-teams"
diff --git a/modules/home/default.nix b/modules/home/default.nix
index 2bd21df..5331684 100644
--- a/modules/home/default.nix
+++ b/modules/home/default.nix
@@ -6,6 +6,7 @@
./claude.nix
./git.nix
./ghostty.nix
+ ./helium.nix
./herdr.nix
./onepassword.nix
./starship.nix
diff --git a/modules/home/helium.nix b/modules/home/helium.nix
new file mode 100644
index 0000000..3c7fef9
--- /dev/null
+++ b/modules/home/helium.nix
@@ -0,0 +1,12 @@
+{ pkgs, lib, ... }:
+
+lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
+ # Helium itself is a Homebrew cask (modules/darwin/homebrew.nix). macOS asks
+ # for confirmation the first time the default browser changes; later runs
+ # are no-ops once Helium is already the handler.
+ home.activation.setDefaultBrowser = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
+ if [ -d /Applications/Helium.app ]; then
+ $DRY_RUN_CMD ${pkgs.defaultbrowser}/bin/defaultbrowser helium
+ fi
+ '';
+}