Minecraft: Difference between revisions
m Changed the note block to a warning block |
m woops per-user codeblock showed environment.systemPackages instead of users.users.<USER>.packages |
||
| Line 24: | Line 24: | ||
pkgs.<LAUNCHER> | pkgs.<LAUNCHER> | ||
]; | ]; | ||
</syntaxhighlight>Alternatively, the package can be installed per-user with <code>users.users.< | </syntaxhighlight>Alternatively, the package can be installed per-user with <code>users.users.<USER>.packages</code> or [[home-manager]]. For nix native, use:<syntaxhighlight lang="nix"> | ||
users.users.<USER>.packages = [ | |||
pkgs.<LAUNCHER> | pkgs.<LAUNCHER> | ||
]; | ]; | ||