feat(nix): add new server
This commit is contained in:
parent
a40192bb99
commit
011bda8d02
4 changed files with 120 additions and 0 deletions
11
nix/hosts/chaewon/hw.nix
Normal file
11
nix/hosts/chaewon/hw.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ modulesPath, ... }: {
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
||||
boot.initrd.kernelModules = [ "nvme" ];
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue