Updates for ThinkPad
This commit is contained in:
parent
3d0f689542
commit
82016c7232
2 changed files with 15 additions and 12 deletions
|
@ -15,20 +15,23 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub = {
|
boot.loader = {
|
||||||
enable = true;
|
efi = {
|
||||||
version = 2;
|
canTouchEfiVariables = true;
|
||||||
# efiSupport = true;
|
efiSysMountPoint = "/boot";
|
||||||
# efiInstallAsRemovable = true;
|
};
|
||||||
# efiSysMountPoint = "/boot/efi";
|
grub = {
|
||||||
# Define on which hard drive you want to install Grub.
|
enable = true;
|
||||||
device = "/dev/sda"; # or "nodev" for efi only
|
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.
|
# Pick only one of the below networking options.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# 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.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Los_Angeles";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
|
@ -25,6 +25,6 @@
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
#hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
#virtualisation.virtualbox.guest.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue