potetial fix for disko

This commit is contained in:
batvin123 2024-11-07 09:58:21 -05:00
parent a3347b167a
commit 918721bf89
3 changed files with 4 additions and 3 deletions

View File

@ -42,6 +42,7 @@
specialArgs = { inherit unstable; }; specialArgs = { inherit unstable; };
modules = [ modules = [
./system/susans-vm/configuration.nix ./system/susans-vm/configuration.nix
disko.nixosModules.disko
./system/susans-vm/disk.nix ./system/susans-vm/disk.nix
]; ];
}; };

View File

@ -1,8 +1,8 @@
{ config, pkgs, disko, ... }: #{ config, pkgs, disko, ... }:
{ {
disko.devices = { disko.devices = {
disk = { disk = {
nvme0n1 = { vda = {
type = "disk"; type = "disk";
device = "/dev/vda"; device = "/dev/vda";
content = { content = {

View File

@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];