18 lines
384 B
Nix
18 lines
384 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
openInBlackBox = pkgs.makeDesktopItem {
|
|
name = "net.privatevoid.OpenInBlackBox";
|
|
desktopName = "Black Box";
|
|
noDisplay = true;
|
|
mimeTypes = [ "inode/directory" ];
|
|
icon = "com.raggesilver.BlackBox";
|
|
startupNotify = false;
|
|
tryExec = "blackbox";
|
|
exec = "blackbox -w %f";
|
|
};
|
|
in
|
|
|
|
{
|
|
environment.systemPackages = [ openInBlackBox ];
|
|
}
|