mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 04:34:08 +02:00
25 lines
549 B
Nix
25 lines
549 B
Nix
{ ... }:
|
|
{
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
fileSystems."/" =
|
|
{ device = "/dev/disk/by-partlabel/root";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" =
|
|
{ device = "/dev/disk/by-partlabel/EFI";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|
};
|
|
|
|
swapDevices = [ {
|
|
device = "/var/lib/swapfile";
|
|
size = 16*1024;
|
|
}];
|
|
}
|