From eeaec5863f5e0d44e1583c15c573c36a2c53618c Mon Sep 17 00:00:00 2001 From: Matthew Ess Date: Mon, 29 Aug 2022 18:52:58 -0400 Subject: [PATCH] Add some things --- darwin/homebrew.nix | 2 ++ home/shells.nix | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/darwin/homebrew.nix b/darwin/homebrew.nix index 8617746..43fbe64 100644 --- a/darwin/homebrew.nix +++ b/darwin/homebrew.nix @@ -59,6 +59,7 @@ in "aerial" "alfred" "bartender" + "conda" # "cursorcerer" "firefox" "jitsi-meet" @@ -72,6 +73,7 @@ in "seaglass" "secretive" "signal" + "stay" "transmission" # "twitch" # "utm" diff --git a/home/shells.nix b/home/shells.nix index a39acac..8270d87 100644 --- a/home/shells.nix +++ b/home/shells.nix @@ -152,6 +152,16 @@ popd ''; }; + + darwin-rebuild-edit-kakoune = { + argumentNames = [ "file" ]; + body = '' + if test -z "$file" + set -l file flake.nix + end + from-nix kak $file + ''; + }; }; # }}} @@ -176,7 +186,7 @@ # edit darwin-rebuild config in vim drv = "vim ${nixConfigDir}"; # edit darwin-rebuild config in kakoune - drk = "from-nix kak flake.nix"; + drk = "darwin-rebuild-edit-kakoune"; flakeup = "nix flake update ${nixConfigDir}/"; nb = "nix build"; nd = "nix develop";