Slimbook/hero: Init

This commit is contained in:
LucasFA
2024-11-19 01:15:18 +00:00
committed by mergify[bot]
parent d3b4fe46c8
commit 4c5c3be74d
4 changed files with 159 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{ config, lib, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel
../../../common/gpu/nvidia/ada-lovelace
../../../common/gpu/nvidia/prime.nix
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
hardware = {
graphics = {
enable = lib.mkDefault true;
enable32Bit = lib.mkDefault true;
};
nvidia = {
prime = {
intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
};
powerManagement = {
enable = lib.mkDefault false; # Causes sleep issues. See README for more information
finegrained = lib.mkDefault false;
};
dynamicBoost.enable = true;
};
};
services = {
fwupd.enable = lib.mkDefault true;
thermald.enable = lib.mkDefault true;
};
}