LnL7 / nix-darwin

nix modules for darwin
MIT License
3.19k stars 457 forks source link

Is it possible to use sketchybar lua? #1021

Closed Demianeen closed 3 months ago

Demianeen commented 3 months ago

I recently started to use nix and already moved all my configuration to it except sketchybar on lua. Is there some way to setup sketchybar with SbarLua with nix?

khaneliman commented 3 months ago

I'm using sketchybar with lua in my config, currently. I haven't upstreamed anything to make it easier from a home-manager module or anything, yet. But, you can take a look https://github.com/khaneliman/khanelinix/blob/60bc9ff5b65ca7e107de3b288e16998fd2b01c88/modules/home/programs/graphical/bars/sketchybar/default.nix

Demianeen commented 3 months ago

Thanks, @khaneliman! I do see a lot of useful stuff, I will try it in the next couple of weeks