nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix

22 lines
420 B
Nix
Raw Normal View History

2015-10-08 12:53:37 +00:00
# This module defines a NixOS installation CD that contains X11 and
# GNOME 3.
{ config, lib, pkgs, ... }:
with lib;
{
2018-09-11 06:23:16 +00:00
imports = [ ./installation-cd-graphical-base.nix ];
2015-10-08 12:53:37 +00:00
2018-09-11 06:23:16 +00:00
services.xserver.desktopManager.gnome3.enable = true;
2015-10-08 12:53:37 +00:00
2018-09-11 06:23:16 +00:00
services.xserver.displayManager.slim.enable = mkForce false;
2015-10-08 12:53:37 +00:00
# Auto-login as root.
services.xserver.displayManager.gdm.autoLogin = {
enable = true;
user = "root";
};
}