A nicer way to manage desktop apps #1

Open
opened 2024-11-18 02:25:42 +02:00 by max · 1 comment
Owner

All-in-one:

  • Define which "launcher folder" the thing should go into
  • Define which *.desktop launchers to hide
  • Define whether it appears on the favorites bar (what about order?)
  • Define which mime types are associated with the application
  • Define a NixPak sandbox config for the application

Something like this

{
  desktopApps.amberol = {
    package = pkgs.amberol;
    folder = "Multimedia";
    favorite = true;
    mimeTypes = [ "audio/*" ];
    sandbox = { # no sandboxing if not defined
      imports = [ nixpakModules.gui-base ];
      bubblewrap.network = false;
    };
  };
}
All-in-one: - Define which "launcher folder" the thing should go into - Define which `*.desktop` launchers to hide - Define whether it appears on the favorites bar (what about order?) - Define which mime types are associated with the application - Define a NixPak sandbox config for the application Something like this ```nix { desktopApps.amberol = { package = pkgs.amberol; folder = "Multimedia"; favorite = true; mimeTypes = [ "audio/*" ]; sandbox = { # no sandboxing if not defined imports = [ nixpakModules.gui-base ]; bubblewrap.network = false; }; }; } ```
max added the
idea
label 2024-11-18 02:26:18 +02:00
Author
Owner

Should use home-manager.sharedModules for doing the dconf shenanigans if needed.

Should use `home-manager.sharedModules` for doing the dconf shenanigans if needed.
Sign in to join this conversation.
No labels
bug
idea
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: max/config#1
No description provided.