51 lines
993 B
Nix
51 lines
993 B
Nix
{ ... }:
|
|
{
|
|
imports = [
|
|
./hardware.nix
|
|
];
|
|
|
|
config = {
|
|
mtxyz = {
|
|
platform = {
|
|
private = true;
|
|
portable = false;
|
|
minimal = false;
|
|
};
|
|
graphical.desktop = "kde";
|
|
};
|
|
|
|
networking.interfaces.enp6s0.wakeOnLan.enable = true;
|
|
services.openssh.enable = true;
|
|
programs.mosh.enable = true;
|
|
|
|
hardware.bluetooth = {
|
|
enable = true; # enables support for Bluetooth
|
|
powerOnBoot = false; # powers up the default Bluetooth controller on boot
|
|
settings = {
|
|
General = {
|
|
Experimental = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
# enable opengl
|
|
hardware.opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
};
|
|
|
|
programs.gamemode = {
|
|
enable = true;
|
|
enableRenice = true;
|
|
settings = {
|
|
general.renice = 10;
|
|
gpu = {
|
|
apply_gpu_optimizations="accept-responsibility";
|
|
gpu_device=1;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|