mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
27 lines
564 B
Nix
27 lines
564 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./../../modules/core
|
|
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
|
|
];
|
|
|
|
hardware.framework.amd-7040.preventWakeOnAC = true;
|
|
networking.hostName = "sakura";
|
|
|
|
laptop = true;
|
|
|
|
services = {
|
|
thermald.enable = true;
|
|
cpupower-gui.enable = true;
|
|
# power-profiles-daemon.enable = true;
|
|
|
|
upower = {
|
|
enable = true;
|
|
percentageLow = 20;
|
|
percentageCritical = 5;
|
|
percentageAction = 3;
|
|
criticalPowerAction = "PowerOff";
|
|
};
|
|
};
|
|
}
|