From e7360fea7db76e548b3e4a9a6aab93c8122f8a17 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 2 Mar 2022 23:31:45 +0100 Subject: [PATCH] Update some programs --- darwin-configuration.nix | 1 + home.nix | 1 - programs/fish.nix | 13 +++++++++++++ programs/starship.nix | 3 +++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/darwin-configuration.nix b/darwin-configuration.nix index f22423d..492d92c 100644 --- a/darwin-configuration.nix +++ b/darwin-configuration.nix @@ -21,6 +21,7 @@ extraOptions = '' experimental-features = nix-command flakes + extra-platforms = x86_64-darwin keep-derivations = true keep-outputs = true auto-optimise-store = true diff --git a/home.nix b/home.nix index 737df56..d4589bc 100644 --- a/home.nix +++ b/home.nix @@ -10,7 +10,6 @@ ./programs/nvim ./programs/git.nix - ./programs/lazygit.nix ./programs/bat.nix diff --git a/programs/fish.nix b/programs/fish.nix index b1da01f..b263ae1 100644 --- a/programs/fish.nix +++ b/programs/fish.nix @@ -35,6 +35,16 @@ }; } + { + name = "done-fish"; + src = pkgs.fetchFromGitHub { + owner = "nifoc"; + repo = "done"; + rev = "2f4e94d8306224f63cd12fb992318985a83d51a8"; + sha256 = "Pq8HEISGjpCTXBIyukcLUK8r1hJ3/QXAklRCesm4nQ0="; + }; + } + { name = "fzf-fish"; src = pkgs.fetchFromGitHub { @@ -128,6 +138,9 @@ source "$custom_script" end end + + # Plugin: done + set -g __done_min_cmd_duration 10000 ''; interactiveShellInit = '' diff --git a/programs/starship.nix b/programs/starship.nix index fc02a88..0d4b69a 100644 --- a/programs/starship.nix +++ b/programs/starship.nix @@ -1,6 +1,9 @@ +{ pkgs, ... }: + { programs.starship = { enable = true; + package = pkgs.pkgs-x86.starship; enableFishIntegration = true; settings = {