{ config, pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.initrd.luks.devices = [ { name = "root"; device = "/dev/sda3"; preLVM = true; } ]; environment.systemPackages = with pkgs; [ wget vim ]; services = { xserver = { enable = true; windowManager.default = "xmonad"; windowManager.xmonad = { enable = true; enableContribAndExtras = true; }; desktopManager = { default = "none"; xterm.enable = false; gnome3.enable = true; }; displayManager = { lightdm.enable = true; }; }; }; system.stateVersion = "19.03"; # Did you read the comment? }