Minecraft: Difference between revisions

Sen (talk | contribs)
m Changed the note block to a warning block
Sen (talk | contribs)
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.<USERNAME>.packages</code> or [[home-manager]]. For nix native, use:<syntaxhighlight lang="nix">
</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">
environment.systemPackages = [
users.users.<USER>.packages = [
   pkgs.<LAUNCHER>
   pkgs.<LAUNCHER>
];
];