refactor: move dracula from common overlays to pkgs

This commit is contained in:
matt1432 2024-06-08 23:40:44 -04:00
parent fe7b03dd4a
commit a51db7b00f
23 changed files with 154 additions and 107 deletions

View file

@ -1,6 +1,7 @@
{
pkgs,
config,
self,
...
}: {
programs = {
@ -41,15 +42,10 @@
bat = {
enable = true;
config = {
theme = "dracula-bat";
};
themes = {
dracula-bat = {
src = pkgs.dracula-theme;
file = "bat";
};
};
config.theme = "dracula-bat";
themes.dracula-bat.src = self.packages.${pkgs.system}.dracula.bat;
extraPackages = with pkgs.bat-extras; [
batman
];

View file

@ -1,11 +1,15 @@
{pkgs, ...}: {
{
pkgs,
self,
...
}: {
programs = {
git = {
enable = true;
lfs.enable = true;
includes = [
{path = "${pkgs.dracula-theme}/git-colors";}
{path = toString self.packages.${pkgs.system}.dracula.git;}
{
condition = "hasconfig:remote.*.url:git@github.com:*/**";

View file

@ -13,7 +13,6 @@
])
++ (with pkgs; [
dig.dnsutils
dracula-theme
imagemagick
killall
mosh