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

37 lines
621 B
Nix

{ ... }:
{
imports = [
./hardware.nix
];
mtxyz = {
private = true;
portable = false;
graphical = true;
minimal = false;
};
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;
};
};
};
}