feat: Add sketchybar and format
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
./goread.nix
|
||||
./hyprpaper.nix
|
||||
];
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./goread.nix
|
||||
./hyprpaper.nix
|
||||
./sketchybar.nix
|
||||
];
|
||||
}
|
||||
|
||||
23
modules/sketchybar.nix
Normal file
23
modules/sketchybar.nix
Normal 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 = "";
|
||||
# };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user