nixos-config/hosts/sakura/default.nix

28 lines
564 B
Nix
Raw Normal View History

2024-10-21 17:12:55 +02:00
{ inputs, ... }:
2024-04-13 13:43:59 +02:00
{
imports = [
./hardware-configuration.nix
./../../modules/core
2024-10-21 15:40:49 +02:00
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
2024-04-13 13:43:59 +02:00
];
2024-04-13 15:30:03 +02:00
2024-10-21 15:40:49 +02:00
hardware.framework.amd-7040.preventWakeOnAC = true;
2024-07-15 07:54:38 +02:00
networking.hostName = "sakura";
2024-10-21 17:12:55 +02:00
laptop = true;
2024-04-13 16:24:34 +02:00
services = {
2024-06-21 09:34:10 +02:00
thermald.enable = true;
cpupower-gui.enable = true;
# power-profiles-daemon.enable = true;
2024-04-13 15:30:03 +02:00
upower = {
enable = true;
percentageLow = 20;
percentageCritical = 5;
percentageAction = 3;
criticalPowerAction = "PowerOff";
};
};
2024-04-13 15:38:53 +02:00
}