Fix
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
{ config, lib, inputs, ... }: {
|
||||
imports = [ ./hardware.nix ];
|
||||
|
||||
boot.loader.systemd-boot.enable = lib.mkForce true;
|
||||
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
# device = "nodev"; # Required for EFI#
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;# CRITICAL: This overwrites /boot/EFI/BOOT/BOOTX64.EFI
|
||||
};
|
||||
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh.authorizedKeysFiles = [
|
||||
config.sops.secrets."iriy_ssh_pub".path
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }: {
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/sda";
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;# CRITICAL: This overwrites /boot/EFI/BOOT/BOOTX64.EFI
|
||||
};
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
||||
boot.initrd.kernelModules = [ "nvme" ];
|
||||
|
||||
Reference in New Issue
Block a user