mirror of
https://codeberg.org/mtxyz/nixconf.git
synced 2024-11-09 10:01:57 +00:00
50 lines
993 B
Nix
50 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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|