mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
modernize nixos-generate-config
This commit is contained in:
parent
8e1d765f61
commit
88a8ec37d3
|
@ -429,6 +429,12 @@ $bootLoaderConfig
|
||||||
# defaultLocale = "en_US.UTF-8";
|
# 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:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
|
@ -445,6 +451,17 @@ $bootLoaderConfig
|
||||||
# Enable the KDE Desktop Environment.
|
# Enable the KDE Desktop Environment.
|
||||||
# services.xserver.displayManager.kdm.enable = true;
|
# services.xserver.displayManager.kdm.enable = true;
|
||||||
# services.xserver.desktopManager.kde4.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
|
EOF
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue