nix-infra/hosts/maine-coon/hardware-configuration.nix

28 lines
616 B
Nix
Raw Normal View History

2024-03-24 18:02:24 +00:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
...
}: {
boot.initrd.availableKernelModules = ["ahci" "nvme"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/nvme0n1p2";
fsType = "btrfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/69ed72d0-20c2-440e-a036-7de658766ee0";
fsType = "ext2";
};
swapDevices = [];
}