per device bootloader config
This commit is contained in:
parent
66d555d3c4
commit
6bb1938330
3 changed files with 19 additions and 12 deletions
|
@ -8,6 +8,18 @@
|
||||||
# Select kernel version
|
# Select kernel version
|
||||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
|
||||||
|
# Bootloader.
|
||||||
|
boot.loader = {
|
||||||
|
grub = {
|
||||||
|
enable = true;
|
||||||
|
efiSupport = true;
|
||||||
|
device = "nodev";
|
||||||
|
useOSProber = true;
|
||||||
|
font = null;
|
||||||
|
splashImage = null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable OpenGL
|
# Enable OpenGL
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -8,6 +8,13 @@
|
||||||
# Add user to surface control group for surface linux
|
# Add user to surface control group for surface linux
|
||||||
users.users.twoneis.extraGroups = [ "surface-control" ];
|
users.users.twoneis.extraGroups = [ "surface-control" ];
|
||||||
|
|
||||||
|
# Bootloader.
|
||||||
|
boot.loader = {
|
||||||
|
systemd-boot = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable OpenGL
|
# Enable OpenGL
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -32,18 +32,6 @@
|
||||||
# Disable documentation
|
# Disable documentation
|
||||||
documentation.nixos.enable = false;
|
documentation.nixos.enable = false;
|
||||||
|
|
||||||
# Bootloader.
|
|
||||||
boot.loader = {
|
|
||||||
grub = {
|
|
||||||
enable = true;
|
|
||||||
efiSupport = true;
|
|
||||||
device = "nodev";
|
|
||||||
useOSProber = true;
|
|
||||||
font = null;
|
|
||||||
splashImage = null;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue