mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 03:57:44 +00:00
feat: add best host
This commit is contained in:
parent
4f84f97dca
commit
f959f7a532
7 changed files with 118 additions and 1 deletions
30
hosts/best/hardware.nix
Normal file
30
hosts/best/hardware.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ config, lib, modulesPath, ... }: let
|
||||
inherit (lib) enabled;
|
||||
in {
|
||||
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
||||
|
||||
boot.loader.grub = enabled {
|
||||
efiSupport = false;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"ata_piix"
|
||||
"sr_mod"
|
||||
"uhci_hcd"
|
||||
"virtio_blk"
|
||||
"virtio_pci"
|
||||
];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/root";
|
||||
fsType = "btrfs";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems.${config.boot.loader.efi.efiSysMountPoint} = {
|
||||
device = "/dev/disk/by-label/boot";
|
||||
fsType = "vfat";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue