1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-09-13 09:37:57 +00:00
This commit is contained in:
RGBCube 2024-05-24 17:00:29 +03:00
parent 62ec73e3f0
commit d17e552400
No known key found for this signature in database
10 changed files with 115 additions and 6 deletions

31
hosts/nine/hardware.nix Normal file
View file

@ -0,0 +1,31 @@
{ config, lib, modulesPath, ... }: with lib;
systemConfiguration {
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub = enabled {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"xen_blkfront"
];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/disk/by-label/root";
fsType = "ext4";
};
fileSystems.${config.boot.loader.efi.efiSysMountPoint} = {
device = "/dev/disk/by-label/boot";
fsType = "vfat";
};
zramSwap = enabled;
}