btw i use nix
1{
2 config,
3 lib,
4 pkgs,
5 modulesPath,
6 ...
7}:
8
9{
10 imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
11
12 boot.loader.grub.device = "nodev";
13 boot.loader.grub.efiSupport = true;
14 boot.loader.grub.efiInstallAsRemovable = true;
15 boot.loader.efi.canTouchEfiVariables = false;
16 boot.initrd.availableKernelModules = [
17 "xhci_pci"
18 "usbhid"
19 "usb_storage"
20 ];
21 boot.initrd.kernelModules = [ ];
22 boot.kernelModules = [ ];
23 boot.extraModulePackages = [ ];
24
25 fileSystems."/" = {
26 device = "/dev/disk/by-uuid/4cef5b18-2c69-4f92-835d-52ac0b96256c";
27 fsType = "ext4";
28 };
29
30 fileSystems."/boot" = {
31 device = "/dev/disk/by-uuid/63BC-60B5";
32 fsType = "vfat";
33 };
34
35 swapDevices = [ ];
36
37 networking.useDHCP = lib.mkDefault true;
38
39 boot.kernelParams = [ "video=HDMI-A-1:1024x768M@60D" ];
40
41 nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
42}