Files
nix-config/modules/darwin/wm/skhd.nix
Ryan Yin b382999a70 refactor: Use haumea for filesystem-based module system for flake outputs
refactor: Use hyphen(`-`) for variable names & folder names(except Python), replace all unserscore(`_`) with hyphen(`-`).
2024-03-10 20:12:02 +08:00

19 lines
410 B
Nix

{
config,
myvars,
...
}: {
services.skhd = {
enable = true;
skhdConfig = builtins.readFile ./skhdrc;
};
# custom log path for debugging
launchd.user.agents.skhd.serviceConfig = let
homeDir = config.users.users."${myvars.username}".home;
in {
StandardErrorPath = "${homeDir}/Library/Logs/skhd.stderr.log";
StandardOutPath = "${homeDir}/Library/Logs/skhd.stdout.log";
};
}