1
0
Fork 0

feat(nix): add new server

This commit is contained in:
Lucas Sta Maria 2025-08-12 13:01:24 +00:00
parent a40192bb99
commit 011bda8d02
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
4 changed files with 120 additions and 0 deletions

11
nix/hosts/chaewon/hw.nix Normal file
View 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";
};
}