From 1992768157d7456748ec28e01c8952cf09b53fbf Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Fri, 27 Mar 2020 23:42:32 +0000 Subject: nixos/azure: clarify how users work in basic example --- nixos/maintainers/scripts/azure-new/examples/basic/system.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/maintainers/scripts/azure-new/examples/basic/system.nix') diff --git a/nixos/maintainers/scripts/azure-new/examples/basic/system.nix b/nixos/maintainers/scripts/azure-new/examples/basic/system.nix index 5f98216d183..855bd3bab71 100644 --- a/nixos/maintainers/scripts/azure-new/examples/basic/system.nix +++ b/nixos/maintainers/scripts/azure-new/examples/basic/system.nix @@ -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}"; -- cgit 1.4.1