diff --git a/nix/nixos-module/server/server1.nix b/nix/nixos-module/server/server1.nix index d841c43..7db5923 100644 --- a/nix/nixos-module/server/server1.nix +++ b/nix/nixos-module/server/server1.nix @@ -1,15 +1,12 @@ { config, ... }: { - boot.loader.grub.enable = true; - boot.loader.grub.version = 2; - boot.loader.grub.devices = [ - "/dev/disk/by-path/pci-0000:05:00.0-scsi-0:1:0:0" - "/dev/disk/by-path/pci-0000:05:00.0-scsi-0:1:0:1" - ]; + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "server1"; # Define your hostname. - networking.hostId = "12345678"; + networking.hostId = "01010101"; boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ata_piix" "hpsa" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ];