Add minimal NixOracle host config

This commit is contained in:
ltadeu6 2026-04-26 18:53:29 -03:00
parent 8861f27e86
commit deb5343d20
5 changed files with 113 additions and 2 deletions

View file

@ -0,0 +1,30 @@
{ modulesPath, ... }: {
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader = {
efi.efiSysMountPoint = "/boot/efi";
grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
};
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/174A-E05D";
fsType = "vfat";
};
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"xen_blkfront"
"vmw_pvscsi"
];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
}