savarcast.r: add required kernel modules
This commit is contained in:
parent
6dd07def6a
commit
6c2e970b93
|
@ -49,6 +49,7 @@
|
|||
|
||||
# Network
|
||||
networking = {
|
||||
useDHCP = lib.mkDefault true;
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowPing = true;
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{ pkgs, lib, nixos-hardware, self, ... }:
|
||||
{ pkgs, modulesPath, lib, nixos-hardware, self, ... }:
|
||||
# new zfs deployment
|
||||
{
|
||||
imports = [
|
||||
((import ./disk-setup.nix ) { disks = [ "/dev/sda" "/dev/sdb"]; })
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
swapDevices = [ ];
|
||||
boot.initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue