From 88a8ec37d3459448302bab4b84c69e00e04ec5bf Mon Sep 17 00:00:00 2001 From: Domen Kozar Date: Sat, 8 Mar 2014 19:56:47 +0100 Subject: [PATCH] modernize nixos-generate-config --- .../installer/tools/nixos-generate-config.pl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index bf7cdcd37119..f3aaa176ac21 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -429,6 +429,12 @@ $bootLoaderConfig # defaultLocale = "en_US.UTF-8"; # }; + # List packages installed in system profile. To search by name, run: + # $ nix-env -qaP | grep wget + # environment.systemPackages = with pkgs; [ + # wget + # ]; + # List services that you want to enable: # Enable the OpenSSH daemon. @@ -445,6 +451,17 @@ $bootLoaderConfig # Enable the KDE Desktop Environment. # services.xserver.displayManager.kdm.enable = true; # services.xserver.desktopManager.kde4.enable = true; + + # Define your user and don't forget to set password with passwd + # users.extraUsers.guest = { + # name = "guest"; + # group = "users"; + # uid = 1000; + # createHome = true; + # home = "/home/guest"; + # shell = "/run/current-system/sw/bin/bash"; + # }; + } EOF } else {