huge change
This commit is contained in:
parent
c159d2f3e3
commit
d86cc3c816
29 changed files with 1151 additions and 792 deletions
|
|
@ -2,19 +2,35 @@
|
|||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
programs.k9s = {
|
||||
enable = true;
|
||||
settings = {
|
||||
k9s.ui.skin = "catppuccin-latte";
|
||||
};
|
||||
skins = {
|
||||
catppuccin-latte = ./latte-transparent.yml;
|
||||
};
|
||||
options = {
|
||||
k9s = {
|
||||
enable = mkEnableOption "enable k9s";
|
||||
theme = mkOption {
|
||||
type = types.str;
|
||||
default = "latte";
|
||||
description = "Catppuccin theme variant for k9s.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf config.k9s.enable {
|
||||
programs.k9s = {
|
||||
enable = true;
|
||||
settings = {
|
||||
k9s.ui.skin = "catppuccin-${config.k9s.theme}";
|
||||
};
|
||||
skins = {
|
||||
catppuccin-latte = ./latte-transparent.yml;
|
||||
catppuccin-mocha = ./mocha-transparent.yml;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue