Nah, both ways are fine. The first one just installs the package, the second one enables the module, which installs the package + does a bunch of additional setup and gives you super convenient configuration options (like setting up mail accounts declaratively from nix)
sudo aptitude install thunderbird
something something
{ pkgs, … }:
{ whatever.i want these installed = [ pkgs.thunderbird ]; }
Don’t you mean
home.programs.thunderbird.enable = true;
?
i wouldn’t know correct nixos syntax or for that matter idiomatic usage when multiple paths are available if they kicked me in the balls
Nah, both ways are fine. The first one just installs the package, the second one enables the module, which installs the package + does a bunch of additional setup and gives you super convenient configuration options (like setting up mail accounts declaratively from nix)
sudo pacman -S thunderbird
I use Arch, by the way.
doas emerge --ask mail-client/thunderbird