Let's try to install zjstatus like conduwuit

This commit is contained in:
Lillian Violet 2024-05-02 11:54:18 +02:00
parent e9dab03e3f
commit 84f0261121
3 changed files with 30 additions and 12 deletions

View file

@ -129,7 +129,7 @@
homeManagerModules = import ./modules/home-manager; homeManagerModules = import ./modules/home-manager;
# Your custom packages and modifications, exported as overlays # Your custom packages and modifications, exported as overlays
overlays = import ./overlays {inherit inputs zjstatus;}; overlays = import ./overlays {inherit inputs;};
# NixOS configuration entrypoint # NixOS configuration entrypoint
# Available through 'nixos-rebuild --flake .#your-hostname' # Available through 'nixos-rebuild --flake .#your-hostname'

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
pkgs, pkgs,
inputs,
... ...
}: { }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -11,12 +12,35 @@
# TODO find specific settings for vscode to avoid # TODO find specific settings for vscode to avoid
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
}; settings = {
session_serialization = true;
theme = "catppuccin-macchiato";
home.file = { themes = {
"zellij" = { catppuccin-macchiato = {
source = ./zellij.kdl; bg = "#5b6078";
target = ".config/zellij/config.kdl"; fg = "#cad3f5";
red = "#ed8796";
green = "#a6da95";
blue = "#8aadf4";
yellow = "#eed49f";
magenta = "#f5bde6";
orange = "#f5a97f";
cyan = "#91d7e3";
black = "#1e2030";
white = "#cad3f5";
};
};
pane = {
plugin.location = "${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm";
};
}; };
}; };
# home.file = {
# "zellij" = {
# source = ./zellij.kdl;
# target = ".config/zellij/config.kdl";
# };
# };
} }

View file

@ -13,12 +13,6 @@
# }; # };
}; };
zjstatus = (
final: prev: {
zjstatus = zjstatus.packages.${prev.system}.default;
}
);
# This one brings our custom packages from the 'pkgs' directory # This one brings our custom packages from the 'pkgs' directory
additions = final: _prev: additions = final: _prev:
import ../pkgs { import ../pkgs {