Add laptop config

This commit is contained in:
Kiana Sheibani 2022-01-06 22:16:45 -05:00
parent 5325723d7e
commit b8e127818a
23 changed files with 32 additions and 9 deletions

View file

@ -0,0 +1,6 @@
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
}

View file

@ -0,0 +1,29 @@
# 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 = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/c8abae41-67ba-47b0-ab99-df5c152b4866";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C7D1-82A6";
fsType = "vfat";
};
swapDevices = [ ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -0,0 +1,2 @@
{ ... }:
{}