Dotfiles/nix/hardware-configuration.nix

31 lines
839 B
Nix
Raw Normal View History

2021-05-30 19:10:25 +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, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2021-08-26 06:47:50 +00:00
{ device = "/dev/disk/by-uuid/906b2b92-4e31-4a91-938f-14ac752dffe7";
2021-05-30 19:10:25 +00:00
fsType = "ext4";
};
fileSystems."/boot" =
2021-08-26 06:47:50 +00:00
{ device = "/dev/disk/by-uuid/8200-D543";
2021-05-30 19:10:25 +00:00
fsType = "vfat";
};
swapDevices =
2021-08-26 06:47:50 +00:00
[ { device = "/dev/disk/by-uuid/98b5b158-730a-470c-95f1-d8a32ebff9ad"; }
2021-05-30 19:10:25 +00:00
];
}