-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardware-configuration-home.nix
59 lines (50 loc) · 1.31 KB
/
hardware-configuration-home.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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" "ahci" "usb_storage" "sd_mod" ];
kernelModules = [ ];
};
extraModulePackages = with pkgs; [ linuxPackages_6_12.sysdig linuxPackages_6_12.tmon ];
tmp.useTmpfs = true;
kernelModules = [ "kvm-amd" ];
};
boot.kernelParams = [
# "isolcpus=1,2,3,4,5,6,7,8,9,10,11"
# "loglevel=7"
];
boot.consoleLogLevel = 7;
fileSystems = {
"/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
};
hardware = {
keyboard.qmk.enable = true;
bluetooth = {
enable = true;
settings = {
General = {
Name = "Hello";
ControllerMode = "dual";
FastConnectable = "true";
Experimental = "true";
};
};
};
nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.beta;
open = false;
modesetting.enable = true;
};
};
swapDevices = [ ];
nix.settings.max-jobs = lib.mkDefault 12;
}