Cheatsheet: Difference between revisions

imported>Anton-Latukha
table: commands need sudo, fx
imported>Dywedir
m users.extraUsers -> users.users
Line 209: Line 209:
|Adding a user
|Adding a user
|<syntaxhighlight lang="bash">sudo adduser alice</syntaxhighlight>
|<syntaxhighlight lang="bash">sudo adduser alice</syntaxhighlight>
|Add <syntaxhighlight lang="nix">users.extraUsers.alice =
|Add <syntaxhighlight lang="nix">users.users.alice =
  { isNormalUser = true;
  { isNormalUser = true;
   home = "/home/alice";
   home = "/home/alice";