nixconf/systems/x86_64-linux/jellydonut/default.nix

38 lines
621 B
Nix
Raw Normal View History

2024-01-15 22:30:41 +00:00
{ ... }:
{
imports = [
./hardware.nix
];
mtxyz = {
private = true;
portable = false;
graphical = true;
minimal = false;
};
2024-01-15 22:30:41 +00:00
networking.interfaces.enp6s0.wakeOnLan.enable = true;
services.openssh.enable = true;
programs.mosh.enable = true;
# enable opengl
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
2024-01-15 22:30:41 +00:00
programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general.renice = 10;
gpu = {
apply_gpu_optimizations="accept-responsibility";
gpu_device=1;
};
};
};
}