mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/azure: clarify how users work in basic example
This commit is contained in:
parent
627ae7e057
commit
1992768157
2 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,9 @@ in
|
|||
"${modulesPath}/virtualisation/azure-image.nix"
|
||||
];
|
||||
|
||||
## NOTE: This is just an example of how to hard-code a user.
|
||||
## The normal Azure agent IS included and DOES provision a user based
|
||||
## on the information passed at VM creation time.
|
||||
users.users."${username}" = {
|
||||
isNormalUser = true;
|
||||
home = "/home/${username}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue