started shanghai

This commit is contained in:
William 2024-08-27 08:51:27 -03:00
parent 52722bb66e
commit 39b22bfd0b
6 changed files with 176 additions and 30 deletions

View file

@ -0,0 +1,5 @@
{ ... }:
{
imports = [ ./hardware-configuration.nix ];
}

View file

@ -0,0 +1,22 @@
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd = {
availableKernelModules =
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
kernelModules = [ "nvme" ];
};
fileSystems = {
"/" = {
device = "/dev/sda4";
fsType = "xfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/14EF-4002";
fsType = "vfat";
};
};
}