Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
glance # Glance
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
glance # Glance
];
}
Package Definition
{
"pname": "glance",
"version": "1.2.0",
"src": {
"url": "https://github.com/samuelmeuli/glance/releases/download/v1.2.0/Glance.dmg",
"sha256": "8584901c292a2a7ce084ee25b0b3e020d143e193ab198b69831b398cdc164c06"
},
"installPhase": [
"mkdir -p \"$out/Applications/Glance.app\" && cp -r \"Glance.app\" \"$out/Applications\""
],
"meta": {
"description": "Utility to provide quick look previews for files that aren't natively supported",
"homepage": "https://github.com/samuelmeuli/glance"
}
}