Configuration files for my GNU/Linux installation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
dotfiles/nix-darwin/modules/skhd.nix

35 lines
1.0 KiB

{ config, pkgs, ... }:
{
# config
# service
home.file."Library/LaunchAgents/org.nixos.skhd.plist" = {
text = ''
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.nixos.skhd</string>
<key>ProgramArguments</key>
<array>
<string>${pkgs.skhd}/bin/skhd</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>${pkgs.skhd}/bin:${pkgs.bash}/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>${config.home.homeDirectory}/.skhd.out.log</string>
<key>StandardErrorPath</key>
<string>${config.home.homeDirectory}/.skhd.err.log</string>
</dict>
</plist>
'';
};
}