This commit is contained in:
Aditya 2024-04-11 18:24:08 +05:30
parent eb07397977
commit 80a8ab4b72
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
3 changed files with 19 additions and 7 deletions

View file

@ -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

View 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";
};
};
};
}

View file

@ -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;