This commit is contained in:
Tao Tien 2023-07-18 11:12:40 -07:00
parent e7059d86b6
commit 1f9b248c04
5 changed files with 19 additions and 9 deletions

View file

@ -54,12 +54,15 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = "x86_64-linux";
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
networking.useDHCP = lib.mkDefault true;
hardware.nvidia = {
modesetting.enable = true;
};
networking.hostName = "NOcomputer";
}

View file

@ -1,6 +1,5 @@
{ lib, modulesPath, pkgs, ... }: {
environment.systemPackages = with pkgs; [
];
fileSystems."/home" = {
@ -21,9 +20,12 @@
swapDevices = [{ device = "/dev/disk/by-uuid/ca55d0ea-c0db-44c5-af3a-e38eec803929"; }];
services.fprintd.enable = true;
services.fwupd.enable = true;
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = "x86_64-linux";
boot.initrd.availableKernelModules = [
"nvme"
@ -37,8 +39,9 @@
"nvme.noacpi=1"
];
boot.kernelModules = [ "kvm-intel" ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
powerManagement.cpuFreqGovernor = "powersave";
hardware.sensor.iio.enable = true;
networking.useDHCP = lib.mkDefault true;
networking.hostName = "NOlaptop";
}