mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
17 lines
312 B
Nix
17 lines
312 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
{
|
|
options.services.yabai = {
|
|
enable = lib.mkEnableOption "yabai";
|
|
};
|
|
|
|
config = {
|
|
home.file.".config/yabai/yabairc" = lib.mkIf
|
|
config.services.yabai.enable
|
|
{
|
|
source = ./yabairc;
|
|
onChange = "${pkgs.killall}/bin/killall yabai";
|
|
};
|
|
};
|
|
}
|