about summary refs log tree commit diff
path: root/nixos/modules/installer
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2019-01-27 15:59:29 -0500
committerGitHub <noreply@github.com>2019-01-27 15:59:29 -0500
commit18119f2d93671ad71a14148cd6f2c43359f683e5 (patch)
treef15c14cb80ad49b88b79bdb9aec2af31fe8bba1b /nixos/modules/installer
parentd5f340f59e63745ec166ed6fd60a93c39cb35f0c (diff)
parentc3d22fdca11b39a859501d4b223266d528101e80 (diff)
downloadnixlib-18119f2d93671ad71a14148cd6f2c43359f683e5.tar
nixlib-18119f2d93671ad71a14148cd6f2c43359f683e5.tar.gz
nixlib-18119f2d93671ad71a14148cd6f2c43359f683e5.tar.bz2
nixlib-18119f2d93671ad71a14148cd6f2c43359f683e5.tar.lz
nixlib-18119f2d93671ad71a14148cd6f2c43359f683e5.tar.xz
nixlib-18119f2d93671ad71a14148cd6f2c43359f683e5.tar.zst
nixlib-18119f2d93671ad71a14148cd6f2c43359f683e5.zip
Merge pull request #54519 from devhell/modify_ngc.pl
nixos-generate-config: Include extraGroups "wheel"
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r--nixos/modules/installer/tools/nixos-generate-config.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index bad9356ab5a6..e58392ad05b4 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -635,9 +635,10 @@ $bootLoaderConfig
   # services.xserver.desktopManager.plasma5.enable = true;
 
   # Define a user account. Don't forget to set a password with ‘passwd’.
-  # users.users.guest = {
+  # users.users.jane = {
   #   isNormalUser = true;
   #   uid = 1000;
+  #   extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
   # };
 
   # This value determines the NixOS release with which your system is to be