My auto-generated Nix hardware config

This commit is contained in:
mhj 2020-09-12 17:48:28 +00:00
parent c138409964
commit 69952c24fb
1 changed files with 36 additions and 0 deletions

36
hardware.nix Normal file
View File

@ -0,0 +1,36 @@
# 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;
}