refactor: modularize host configuration

This commit is contained in:
lightly-toasted 2025-08-09 12:15:43 +09:00
parent 783b7c8705
commit bb8d9c6752
10 changed files with 152 additions and 111 deletions

View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
hardware = {
graphics.enable = true;
nvidia = {
modesetting.enable = true;
powerManagement = {
enable = false;
finegrained = false;
};
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
};
}