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