From a9975018f4c21cd5cb2ab2a97a6397e4b4f4d9fe Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Wed, 5 May 2021 00:10:35 +0200 Subject: [PATCH] feat(shell): set work browser via dotenv --- home/shell/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/shell/default.nix b/home/shell/default.nix index 37d071d..26c0bb8 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -79,7 +79,12 @@ in { enableNixDirenvIntegration = true; }; - home.file.".envrc".text = '' + # for .envrc's in child directories add "source_up" + # for them to pick up this config + home.file."dev/work/.envrc".text = '' dotenv ''; + home.file."dev/work/.env".text = '' + BROWSER=firefox-work + ''; }