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.4.0",
"src": {
"url": "https://github.com/rashn/RuSwitcher/releases/download/v3.4.0/RuSwitcher-3.4.0.dmg",
"sha256": "cade8bc1d431d29bb67799e4cb4aa0841299ebcf600f491c5770fac42552c3a2"
},
"installPhase": [
"mkdir -p \"$out/Applications/RuSwitcher.app\" && cp -r \"RuSwitcher.app\" \"$out/Applications\""
],
"meta": {
"description": "Keyboard layout switcher",
"homepage": "https://github.com/rashn/RuSwitcher"
}
}