feat: Add sketchybar and format

This commit is contained in:
Uttarayan Mondal
2024-05-14 02:08:59 +05:30
parent d44ee68461
commit 11f6a9b736
9 changed files with 56 additions and 10 deletions

View File

@@ -1,6 +1,11 @@
{...}: {
imports = [
./goread.nix
./hyprpaper.nix
];
{
pkgs,
lib,
...
}: {
imports = [
./goread.nix
./hyprpaper.nix
./sketchybar.nix
];
}

23
modules/sketchybar.nix Normal file
View File

@@ -0,0 +1,23 @@
{
pkgs,
config,
lib,
...
}:
with lib; let
cfg = config.programs.sketchybar;
in {
options = {
programs.sketchybar = {
enable = mkEnableOption "sketchybar - a status bar for macOS";
# config = with types; {
# };
};
};
config = {
home.packages = mkIf cfg.enable [pkgs.sketchybar];
# home.file = {
# ".config/sketchybar/sketchybarrc".text = "";
# };
};
}