From 5a2c019d2281418f5c7ef31f8b8ef5f60604c59f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Sat, 9 Mar 2024 10:22:44 +0100 Subject: [PATCH] 116 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 * --- hosts/MaxNixosLaptop/home.nix | 2 +- modules/home-manager/bat.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 modules/home-manager/bat.nix diff --git a/hosts/MaxNixosLaptop/home.nix b/hosts/MaxNixosLaptop/home.nix index e62fc94..acedf95 100644 --- a/hosts/MaxNixosLaptop/home.nix +++ b/hosts/MaxNixosLaptop/home.nix @@ -13,6 +13,7 @@ ../../modules/home-manager/foot.nix # often used terminal programs ../../modules/home-manager/btop.nix + ../../modules/home-manager/bat.nix ]; # Home Manager needs a bit of information about you and the paths it should @@ -35,7 +36,6 @@ # environment. home.packages = with pkgs; [ lazygit - bat unzip rustup nextcloud-client diff --git a/modules/home-manager/bat.nix b/modules/home-manager/bat.nix new file mode 100644 index 0000000..e5163a0 --- /dev/null +++ b/modules/home-manager/bat.nix @@ -0,0 +1,10 @@ +{...}: { + programs.bat = { + enable = true; + config = { + map-syntax = ["*.ino:C++"]; + theme = "Solarized (dark)"; + style = "numbers,changes,header-filename,header-filesize"; + }; + }; +}