summary refs log tree commit diff
path: root/nixos/maintainers/scripts/azure-new/examples/basic/system.nix
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2020-03-27 23:42:32 +0000
committerJon <jonringer@users.noreply.github.com>2020-03-29 13:56:55 -0700
commit1992768157d7456748ec28e01c8952cf09b53fbf (patch)
tree736f366be3d5a66e36175717e36618752932e696 /nixos/maintainers/scripts/azure-new/examples/basic/system.nix
parent627ae7e0570cec26e6fd54e2b499cab81e5ea884 (diff)
downloadnixpkgs-1992768157d7456748ec28e01c8952cf09b53fbf.tar
nixpkgs-1992768157d7456748ec28e01c8952cf09b53fbf.tar.gz
nixpkgs-1992768157d7456748ec28e01c8952cf09b53fbf.tar.bz2
nixpkgs-1992768157d7456748ec28e01c8952cf09b53fbf.tar.lz
nixpkgs-1992768157d7456748ec28e01c8952cf09b53fbf.tar.xz
nixpkgs-1992768157d7456748ec28e01c8952cf09b53fbf.tar.zst
nixpkgs-1992768157d7456748ec28e01c8952cf09b53fbf.zip
nixos/azure: clarify how users work in basic example
Diffstat (limited to 'nixos/maintainers/scripts/azure-new/examples/basic/system.nix')
-rw-r--r--nixos/maintainers/scripts/azure-new/examples/basic/system.nix3
1 files changed, 3 insertions, 0 deletions
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}";