mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-09 23:49:43 +00:00
add bat
This commit is contained in:
parent
eb07397977
commit
80a8ab4b72
3 changed files with 19 additions and 7 deletions
|
@ -106,13 +106,6 @@
|
|||
"electron-25.9.0"
|
||||
];
|
||||
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
theme = "ansi";
|
||||
};
|
||||
};
|
||||
|
||||
services.mpris-proxy.enable = true;
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
|
|
17
modules/home-manager/bat/default.nix
Normal file
17
modules/home-manager/bat/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
bat.enable = lib.mkEnableOption "enable bat";
|
||||
};
|
||||
config = lib.mkIf config.bat.enable {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
theme = "ansi";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
{lib, ...}: {
|
||||
imports = [
|
||||
./bash
|
||||
./bat
|
||||
./kitty
|
||||
./neovim
|
||||
./session-vars
|
||||
|
@ -12,6 +13,7 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
bash.enable = lib.mkDefault true;
|
||||
bat.enable = lib.mkDefault true;
|
||||
kitty.enable = lib.mkDefault true;
|
||||
neovim.enable = lib.mkDefault true;
|
||||
tmux.enable = lib.mkDefault true;
|
||||
|
|
Loading…
Reference in a new issue