Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
nightfall # Nightfall
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
nightfall # Nightfall
];
} Package Definition
{
"pname": "nightfall",
"version": "3.1.0",
"src": {
"url": "https://github.com/r-thomson/Nightfall/releases/download/v3.1.0/Nightfall.dmg",
"sha256": "b98e86466bb89b04b9f5d3f98e4b74c03950052e8821b515ec1ea0c7f71bef6a"
},
"installPhase": [
"mkdir -p \"$out/Applications/Nightfall.app\" && cp -r \"Nightfall.app\" \"$out/Applications\""
],
"meta": {
"description": "Menu bar utility for toggling dark mode",
"homepage": "https://github.com/r-thomson/Nightfall/"
}
}