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