diff --git a/configuration.nix b/configuration.nix index 11c8914..4498c56 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,20 +15,23 @@ in ]; # Use the GRUB 2 boot loader. - boot.loader.grub = { - enable = true; - version = 2; - # efiSupport = true; - # efiInstallAsRemovable = true; - # efiSysMountPoint = "/boot/efi"; - # Define on which hard drive you want to install Grub. - device = "/dev/sda"; # or "nodev" for efi only + boot.loader = { + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot"; + }; + grub = { + enable = true; + version = 2; + efiSupport = true; + device = "nodev"; + }; }; - # networking.hostName = "nixos"; # Define your hostname. + # networking.hostName = "elnupad"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. + networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Set your time zone. time.timeZone = "America/Los_Angeles"; diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 1e7f42f..5a3ee96 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -25,6 +25,6 @@ networking.useDHCP = lib.mkDefault true; # networking.interfaces.enp0s3.useDHCP = lib.mkDefault true; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - virtualisation.virtualbox.guest.enable = true; + #hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + #virtualisation.virtualbox.guest.enable = true; }