Files
2026-08-20 04:04:30 +03:30

26 lines
882 B
Nix

{ config, lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelParams = [ "kvm-amd" "snd_hda_intel.probe_mask=1" ];
boot.extraModulePackages = [ ];
fileSystems."/".device = "/dev/nvme0n1p2";
fileSystems."/".fsType = "ext4";
fileSystems."/boot".device = "/dev/nvme0n1p1";
fileSystems."/boot".fsType = "vfat";
fileSystems."/boot".options = [ "fmask=0022" "dmask=0022" ];
fileSystems."/media/drive".device = "/dev/sda2";
fileSystems."/media/drive".fsType = "btrfs";
swapDevices = [{ device = "/dev/nvme0n1p3"; }];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}