mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: adds more framework-specific options to sakura
This commit is contained in:
parent
e5b6b88e3d
commit
a4ef411f2c
1 changed files with 12 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, config, ... }:
|
||||
{ inputs, pkgs, config, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
|
@ -6,12 +6,23 @@
|
|||
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
|
||||
];
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
# powertop.enable = true;
|
||||
cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
fwupd # Update firmware for Framework Laptop 13
|
||||
];
|
||||
|
||||
liv.laptop.enable = true;
|
||||
|
||||
hardware.framework.amd-7040.preventWakeOnAC = true;
|
||||
networking.hostName = "sakura";
|
||||
|
||||
boot = {
|
||||
kernelParams = [ "mem_sleep_default=deep" ];
|
||||
kernelModules = ["acpi_call"];
|
||||
extraModulePackages = with config.boot.kernelPackages;
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue