nixos/systems/aurora.nix
2026-02-15 22:46:17 -08:00

31 lines
806 B
Nix
Executable file

{ config, lib, pkgs, modulesPath, ... }:
{
networking.hostName = "aurora";
fileSystems."/" =
{ device = "/dev/disk/by-partlabel/primary";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-partlabel/ESP";
fsType = "vfat";
};
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
services.xserver.videoDrivers = lib.mkDefault [ "amdgpu" ];
networking.bridges = {
"br0" = {
interfaces = [ "eth0" "wlan0" ];
};
};
}