summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-generate-config.pl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-15 02:07:43 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-15 02:16:04 +0200
commita323d146b7be3bc066b4ec74db72888ea32792fb (patch)
treef05ed60f89df9d0546560c4aff93afa567122628 /nixos/modules/installer/tools/nixos-generate-config.pl
parent1a75958be52f5c2f062ace0935c1a2d43c8f7f55 (diff)
downloadnixpkgs-a323d146b7be3bc066b4ec74db72888ea32792fb.tar
nixpkgs-a323d146b7be3bc066b4ec74db72888ea32792fb.tar.gz
nixpkgs-a323d146b7be3bc066b4ec74db72888ea32792fb.tar.bz2
nixpkgs-a323d146b7be3bc066b4ec74db72888ea32792fb.tar.lz
nixpkgs-a323d146b7be3bc066b4ec74db72888ea32792fb.tar.xz
nixpkgs-a323d146b7be3bc066b4ec74db72888ea32792fb.tar.zst
nixpkgs-a323d146b7be3bc066b4ec74db72888ea32792fb.zip
Add user attribute isNormalUser
This is shorthand for setting group, createHome, home, useDefaultShell
and isSystemUser.
Diffstat (limited to 'nixos/modules/installer/tools/nixos-generate-config.pl')
-rw-r--r--nixos/modules/installer/tools/nixos-generate-config.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index 66a8152a3a6..c507f7f979f 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -490,12 +490,8 @@ $bootLoaderConfig
 
   # Define a user account. Don't forget to set a password with ‘passwd’.
   # users.extraUsers.guest = {
-  #   name = "guest";
-  #   group = "users";
+  #   isNormalUser = true;
   #   uid = 1000;
-  #   createHome = true;
-  #   home = "/home/guest";
-  #   shell = "/run/current-system/sw/bin/bash";
   # };
 
 }