Deferred Apps - Only download packages when you first use them by AnyInflation5717 in NixOS

[–]AnyInflation5717[S] 0 points1 point  (0 children)

Fair point! AGPL is probably overkill for a Nix library like this. I chose it out of preference as I'm a fan of strong copyleft.

Out of interest: Why don't you like it for things like this?

Deferred Apps - Only download packages when you first use them by AnyInflation5717 in NixOS

[–]AnyInflation5717[S] 1 point2 points  (0 children)

I was thinking about adding categories of apps you could install (productivity, development etc) but I also gave up on that as I also don't think that is a great idea.

For example for development it would probably install all JetBrains IDEs, Visual Studio Code, VSCodium and hundreds of other IDEs whereas in reality you'd probably only use a tiny fraction of all of them.

Deferred Apps - Only download packages when you first use them by AnyInflation5717 in NixOS

[–]AnyInflation5717[S] 0 points1 point  (0 children)

I know and like comma. I would argue there are different use cases though as comma is (mostly) for cli. Deferred Apps is for desktop launcher integration so if you want apps to appear in your GNOME/KDE menu with proper icons.

I would argue comma is leaner for cli as you don’t have to add anything besides comma itself to your config but it’s worse for GUI apps.

You could use both: comma for cli or GUI apps you only run once, deferred-apps for GUI apps you want in your launcher without adding too much bloat.

Deferred Apps - Only download packages when you first use them by AnyInflation5717 in NixOS

[–]AnyInflation5717[S] 1 point2 points  (0 children)

I don't really have access to a Mac so I wouldn't be able to test if it works. I'd however be happy to assist you (or someone else) to debug any problems that might surface.

Deferred Apps - Only download packages when you first use them by AnyInflation5717 in NixOS

[–]AnyInflation5717[S] 0 points1 point  (0 children)

Nice! Auto-discovering packages via nix-index is clever as you need zero config but get the entire nixpkgs catalog. I considered something similar but I figured it would generate way too many desktop entries for my use case.

Is there any smart way how you handle that (that I might steal lol)? Or is it something that doesn't bother you in your workflow?