From 0e972936d33933275726d301a69dc6df85ccd71f Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 22 Jun 2026 14:00:23 -0400 Subject: [PATCH] chore: update macOS settings --- home/baseline/nushell/functions.nu | 9 +-------- home/hosts/gregory.hellings-mbp/default.nix | 4 ++++ modules/hm/gui.nix | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/home/baseline/nushell/functions.nu b/home/baseline/nushell/functions.nu index 9344952..7cbb42a 100644 --- a/home/baseline/nushell/functions.nu +++ b/home/baseline/nushell/functions.nu @@ -1,5 +1,5 @@ # vim: set filetype=nushell : -let servers = [isaiah jeremiah zeke genesis] +let servers = [isaiah jeremiah zeke genesis hosea] def par-map [ items: list, c: closure ] { let results = $items | par-each -k $c @@ -69,13 +69,6 @@ def dc [ $cmd: string = "sh" ] { } } -def claude [ ] { - unlock - $env.GITLAB_TOKEN = ^bw get item 7d3da4e9-5f9a-49d0-8e14-b39c010a4001 | from json | get fields | find claudeapi | get value - #$env.ANTHROPIC_API_KEY = ^bw get item e122fd08-3506-4f21-9c6a-b42b00fe5be1 | from json | get login.password - ^claude -} - if ("/usr/local/bin" | path exists) { $env.PATH = $env.PATH | append "/usr/local/bin" } diff --git a/home/hosts/gregory.hellings-mbp/default.nix b/home/hosts/gregory.hellings-mbp/default.nix index a70dc85..518578e 100644 --- a/home/hosts/gregory.hellings-mbp/default.nix +++ b/home/hosts/gregory.hellings-mbp/default.nix @@ -50,6 +50,10 @@ ignore-error-codes = [403] ''; }; + sessionVariables = { + BW_GITLAB_ITEM = "7d3da4e9-5f9a-49d0-8e14-b39c010a4001"; + BW_ANTHROPIC_ITEM = "e122fd08-3506-4f21-9c6a-b42b00fe5be1"; + }; username = username; homeDirectory = "/Users/${username}"; }; diff --git a/modules/hm/gui.nix b/modules/hm/gui.nix index 0f2046c..ae94a77 100644 --- a/modules/hm/gui.nix +++ b/modules/hm/gui.nix @@ -77,7 +77,7 @@ in programs.firefox = { enable = true; # (!pkgs.stdenv.hostPlatform.isDarwin); - configPath = "${config.xdg.configHome}/mozilla/firefox"; + configPath = if pkgs.stdenv.hostPlatform.isDarwin then "${config.home.homeDirectory}/Library/Application Support/Firefox" else "${config.xdg.configHome}/mozilla/firefox"; package = pkgs.firefox-bin; policies = { DisableAppUpdate = true;