Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
notepadexe # Notepad.exe
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
notepadexe # Notepad.exe
];
} Package Definition
{
"pname": "notepadexe",
"version": "1.4.1479",
"src": {
"url": "https://github.com/notepadhq/notepadexe-public/releases/download/1.4.1479/Notepad.zip",
"sha256": "0e1fef092bd1b9073bb4e70642e7a5e7b759a5841eb50c43ff5f466c949e97b0"
},
"installPhase": [
"mkdir -p \"$out/Applications/Notepad.exe.app\" && cp -r \"Notepad.exe.app\" \"$out/Applications\""
],
"meta": {
"description": "Lightweight code editor",
"homepage": "https://notepadexe.com/"
}
}