My-NixOS/hardware.nix

37 lines
1005 B
Nix
Raw Normal View History

2020-09-12 17:48:28 +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, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/1351f1e2-de6d-43f4-a7c1-93cc9c9b9e07";
fsType = "btrfs";
options = [ "subvol=ROOT" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/306B-6066";
fsType = "vfat";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/1351f1e2-de6d-43f4-a7c1-93cc9c9b9e07";
fsType = "btrfs";
options = [ "subvol=home" ];
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 2;
}