diff options
Diffstat (limited to 'hosts/thinkpad')
| -rw-r--r-- | hosts/thinkpad/default.nix | 3 | ||||
| -rw-r--r-- | hosts/thinkpad/hardware.nix | 12 |
2 files changed, 3 insertions, 12 deletions
diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 8db964c..e57214d 100644 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -37,6 +37,9 @@ _: { enable = true; ip = "10.3.0.5/32"; }; + bootloader = { + grub.enable = true; + }; # modules battery.enable = true; diff --git a/hosts/thinkpad/hardware.nix b/hosts/thinkpad/hardware.nix index a012cbc..adc160b 100644 --- a/hosts/thinkpad/hardware.nix +++ b/hosts/thinkpad/hardware.nix @@ -1,5 +1,4 @@ { - config, inputs, ... }: { @@ -8,17 +7,6 @@ inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-7th-gen ]; - # bootloader - boot.loader = { - efi.canTouchEfiVariables = true; - grub = { - enable = true; - efiSupport = true; - device = "nodev"; - splashImage = config.theme.wallpaper; - }; - }; - # kernel modules boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod"]; boot.initrd.kernelModules = []; |