From fe53ce185c3bf25ced9794fa494ebc8c5a22b406 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 1 Aug 2023 15:26:02 +0100 Subject: [PATCH] Ad ncspot spotify ncurses interface --- home/tui/default.nix | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/home/tui/default.nix b/home/tui/default.nix index 9cf08f16..b3e5d791 100644 --- a/home/tui/default.nix +++ b/home/tui/default.nix @@ -1,24 +1,22 @@ -{ - pkgs, - tokyonight, - ... -}: { +{ pkgs, tokyonight, ... }: { programs = { bat = { enable = true; config.theme = "tokyonight"; - themes.tokyonight = builtins.readFile "${tokyonight}/extras/sublime/tokyonight_night.tmTheme"; + themes.tokyonight = builtins.readFile + "${tokyonight}/extras/sublime/tokyonight_night.tmTheme"; }; gitui = { enable = true; keyConfig = builtins.readFile (pkgs.fetchFromGitHub { - owner = "extrawurst"; - repo = "gitui"; - rev = "8f7f35b8a97e38a0e181032285554cd0961d588e"; - sha256 = "sha256-zJDf6WhaUe8QTPCoVAdfCdUvYEcQpm2qddQiKw41kjY="; - } - + "/vim_style_key_config.ron"); - theme = builtins.readFile "${tokyonight}/extras/gitui/tokyonight_night.ron"; + owner = "extrawurst"; + repo = "gitui"; + rev = "8f7f35b8a97e38a0e181032285554cd0961d588e"; + sha256 = "sha256-zJDf6WhaUe8QTPCoVAdfCdUvYEcQpm2qddQiKw41kjY="; + } + "/vim_style_key_config.ron"); + theme = + builtins.readFile "${tokyonight}/extras/gitui/tokyonight_night.ron"; }; + ncspot.enable = true; }; }