structure config
This commit is contained in:
parent
28985be5f0
commit
e7a5944b7d
14 changed files with 133 additions and 100 deletions
12
modules/hardware/bluetooth.nix
Normal file
12
modules/hardware/bluetooth.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = false;
|
||||
input.General.ClassicBondedOnly = false;
|
||||
settings = {
|
||||
General = {
|
||||
Experimental = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
7
modules/hardware/default.nix
Normal file
7
modules/hardware/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./nvidia.nix
|
||||
./bluetooth.nix
|
||||
];
|
||||
hardware.graphics.enable = true;
|
||||
}
|
||||
7
modules/hardware/nvidia.nix
Normal file
7
modules/hardware/nvidia.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
hardware.nvidia = lib.mkIf (config.networking.hostName == "nerv") {
|
||||
modesetting.enable = true;
|
||||
open = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.new_feature;
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue