mirror of
https://github.com/RGBCube/ncc
synced 2025-09-13 09:37:57 +00:00
Add nine
This commit is contained in:
parent
62ec73e3f0
commit
d17e552400
10 changed files with 115 additions and 6 deletions
31
hosts/nine/hardware.nix
Normal file
31
hosts/nine/hardware.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue