Update Isaiah for new harddrive setup

This commit is contained in:
Greg Hellings
2025-08-23 01:48:05 -05:00
parent b860a6d2a6
commit df5d81d092
2 changed files with 45 additions and 15 deletions
-1
View File
@@ -28,7 +28,6 @@
}; };
systemd-boot = { systemd-boot = {
enable = true; enable = true;
configurationLimit = 10;
}; };
}; };
supportedFilesystems = [ "ntfs" ]; supportedFilesystems = [ "ntfs" ];
+45 -14
View File
@@ -5,24 +5,55 @@
config, config,
lib, lib,
modulesPath, modulesPath,
pkgs,
... ...
}: }:
{ {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ boot = {
"nvme" extraModulePackages = [ ];
"xhci_pci" kernelModules = [ "kvm-amd" ];
"ahci" initrd = {
"usb_storage" availableKernelModules = [
"usbhid" "nvme"
"sd_mod" "xhci_pci"
"sr_mod" "ahci"
]; "usb_storage"
boot.initrd.kernelModules = [ ]; "usbhid"
boot.kernelModules = [ "kvm-amd" ]; "sd_mod"
boot.extraModulePackages = [ ]; "sr_mod"
];
kernelModules = [ ];
};
loader = {
timeout = 15;
systemd-boot = {
enable = true;
configurationLimit = 20;
extraEntries = {
"Win2.conf" = (
lib.strings.concatStringsSep "\n" [
"title Windows 11"
"efi /shellx64.efi"
"options -nointerrupt -noconsolein -noconsoleout windows11.nsh"
]
);
"Shell.conf" = (
lib.strings.concatStringsSep "\n" [
"title EFI Shell"
"efi /shell.efi"
]
);
};
extraFiles = {
"windows11.nsh" = (pkgs.writeText "windows11.nsh" (lib.strings.concatStringsSep "\n" [ ]));
"shell.efi" = "${pkgs.edk2-uefi-shell}/shell.efi";
};
};
};
};
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/714744ca-dd9d-4713-b571-c6ccfbf56d79"; device = "/dev/disk/by-uuid/714744ca-dd9d-4713-b571-c6ccfbf56d79";
@@ -37,12 +68,12 @@
}; };
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/29E7-E20C"; device = "/dev/disk/by-uuid/4A92-3E4B";
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/myvol" = { fileSystems."/myvol" = {
device = "/dev/nvme0n1p1"; device = "/dev/disk/by-uuid/714744ca-dd9d-4713-b571-c6ccfbf56d79";
fsType = "btrfs"; fsType = "btrfs";
}; };