Adding insecure packages to permittedInsecurePackages #7

Open
opened 2026-05-14 07:01:28 +00:00 by xfeusw · 2 comments
Member

Problem

When we try to install insecure package (e.g. ventoy-full), we have to deal with error which describes we're installing insecure package and we should add that package into nixpkgs.config.permittedInsecurePackages to install that package.

Example

To generate this error, try to install ventoy-full package from nixpkgs. Then it will ask you to add a code like this to your config:

nixpkgs.config.permittedInsecurePackages = [
  "ventoy-1.1.12"
];
# Problem When we try to install insecure package (e.g. [`ventoy-full`](https://search.nixos.org/packages?channel=unstable&query=ventoy-full)), we have to deal with error which describes we're installing insecure package and we should add that package into nixpkgs.config.permittedInsecurePackages to install that package. ## Example To generate this error, try to install [`ventoy-full`](https://search.nixos.org/packages?channel=unstable&query=ventoy-full) package from nixpkgs. Then it will ask you to add a code like this to your config: ```nix nixpkgs.config.permittedInsecurePackages = [ "ventoy-1.1.12" ]; ```
xfeusw added this to the 26.05 project 2026-05-14 07:01:29 +00:00
Author
Member
@bahrom04
Owner

Currently I can suggest 2 options to apply these insecure app installation:

image

1. For example on bazaar app when you try to delete the app, it will prompt to ask some selections

image

2. On user preferences add switch to accept insecure apps:

image

But we have to keep in mind, all these information should come with app metadata. I will provide more info regardless appstream metadata in separate issue

## Currently I can suggest 2 options to apply these insecure app installation: ![image](/attachments/bd1a38a3-c248-433a-9f3e-d52150734455) ### 1. For example on bazaar app when you try to delete the app, it will prompt to ask some selections ![image](/attachments/5b8804f6-df21-4aa2-afae-9711ed203be3) ### 2. On user preferences add switch to accept insecure apps: ![image](/attachments/258824a2-f51b-46bd-83d2-ac7d5c9df43a) But we have to keep in mind, all these information should come with app metadata. I will provide more info regardless appstream metadata in separate issue
image.png
286 KiB
image.png
248 KiB
image.png
175 KiB
bahrom04 added this to the 26.11 milestone 2026-08-14 08:59:33 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
xinux/software-center#7
No description provided.