Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
ruswitcher # RuSwitcher
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
ruswitcher # RuSwitcher
];
} Package Definition
{
"pname": "ruswitcher",
"version": "3.5.0",
"src": {
"url": "https://github.com/rashn/RuSwitcher/releases/download/v3.5.0/RuSwitcher-3.5.0.dmg",
"sha256": "913d57153e396854904063b8bd964d5eb38fcc56f8b6518772754002a6273124"
},
"installPhase": [
"mkdir -p \"$out/Applications/RuSwitcher.app\" && cp -r \"RuSwitcher.app\" \"$out/Applications\""
],
"meta": {
"description": "Keyboard layout switcher",
"homepage": "https://github.com/rashn/RuSwitcher"
}
}