1
0
Fork 0
forked from dea/dea-files
flake-dea/hosts/sandalphon/configuration.nix

37 lines
927 B
Nix
Raw Normal View History

2026-01-08 13:59:34 -05:00
{
2026-01-09 13:26:43 -05:00
lib,
inputs,
2026-01-08 13:59:34 -05:00
pkgs,
...
}:
{
2026-01-09 13:26:43 -05:00
networking.hostName = lib.mkDefault "sandalphon";
# nvidia drivers
hardware.graphics = {
enable = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting.enable = true;
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
# Enable this if you have graphical corruption issues or application crashes after waking
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
# of just the bare essentials.
powerManagement.enable = false;
powerManagement.finegrained = false;
open = true;
# Enable the Nvidia settings menu,
# accessible via `nvidia-settings`.
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
2026-01-08 13:59:34 -05:00
environment.systemPackages = with pkgs; [
2026-01-09 13:26:43 -05:00
prismlauncher # minecraft
waywall # mcsr
2026-01-08 13:59:34 -05:00
];
}