potetial fix for disko
This commit is contained in:
parent
a3347b167a
commit
918721bf89
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -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 = {
|
||||||
|
@ -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 = [ ];
|
||||||
|
Loading…
Reference in New Issue
Block a user