chore: reconfigure nix cloud

This commit is contained in:
Thiago Sposito 2026-01-30 15:25:37 -03:00
parent d5db6daa8c
commit 20e8bd96bd
Signed by: thiago
GPG key ID: 3065EA73A976D430
3 changed files with 73 additions and 71 deletions

View file

@ -1,9 +1,15 @@
{ modulesPath, lib, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.kernelModules = [ "nvme" ];
boot.loader.grub.device = "nodev";
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"xen_blkfront"
"vmw_pvscsi"
];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
@ -12,13 +18,5 @@
device = "/dev/sda15";
fsType = "vfat";
};
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"vmw_pvscsi"
"xen_blkfront"
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}