feat: migrate capptuccin themes into my nur-packages, add nix's access-tokens into secrets

This commit is contained in:
Ryan Yin
2023-12-20 12:03:37 +08:00
parent 58b02a6b16
commit 50d9301e13
13 changed files with 171 additions and 254 deletions
+6 -2
View File
@@ -1,4 +1,8 @@
{catppuccin-bat, ...}: {
{
pkgs,
nur-ryan4yin,
...
}: {
# a cat(1) clone with syntax highlighting and Git integration.
programs.bat = {
enable = true;
@@ -9,7 +13,7 @@
themes = {
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
catppuccin-mocha = {
src = catppuccin-bat;
src = nur-ryan4yin.packages.${pkgs.system}.catppuccin-bat;
file = "Catppuccin-mocha.tmTheme";
};
};
+6 -2
View File
@@ -1,6 +1,10 @@
{catppuccin-btop, ...}: {
{
pkgs,
nur-ryan4yin,
...
}: {
# https://github.com/catppuccin/btop/blob/main/themes/catppuccin_mocha.theme
home.file.".config/btop/themes".source = "${catppuccin-btop}/themes";
home.file.".config/btop/themes".source = "${nur-ryan4yin.packages.${pkgs.system}.catppuccin-btop}/themes";
# replacement of htop/nmon
programs.btop = {
+6 -2
View File
@@ -1,4 +1,8 @@
{catppuccin-starship, ...}: {
{
pkgs,
nur-ryan4yin,
...
}: {
programs.starship = {
enable = true;
@@ -24,6 +28,6 @@
palette = "catppuccin_mocha";
}
// builtins.fromTOML (builtins.readFile "${catppuccin-starship}/palettes/mocha.toml");
// builtins.fromTOML (builtins.readFile "${nur-ryan4yin.packages.${pkgs.system}.catppuccin-starship}/palettes/mocha.toml");
};
}