Merged sketchybar config into declaritive Nix Repo

This commit is contained in:
DerGrumpf
2026-04-05 19:32:42 +02:00
parent 0d4654203c
commit ebd4183584
18 changed files with 515 additions and 188 deletions

View File

@@ -1,18 +1,13 @@
{
pkgs,
compositor ? "hyprland",
...
}:
{
programs.waybar = {
{ pkgs, lib, compositor ? "hyprland", ... }: {
programs.waybar = lib.mkIf (!pkgs.stdenv.isDarwin) ({
enable = true;
package = pkgs.waybar;
}
// (import ./dual.nix { inherit compositor; });
home = {
packages = with pkgs; [ cava ];
file.".config/waybar" = {
} // (import ./dual.nix { inherit compositor; }));
home.packages = lib.mkIf (!pkgs.stdenv.isDarwin) (with pkgs; [ cava ]);
home.file = lib.mkIf (!pkgs.stdenv.isDarwin) {
".config/waybar" = {
source = ./configs;
recursive = true;
};