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)
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)