Initial commit
This commit is contained in:
commit
b0a95003b7
57 changed files with 1561 additions and 0 deletions
21
modules/laptop.nix
Normal file
21
modules/laptop.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
|
||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
||||
|
||||
services.logind = {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitchDocked = "suspend-then-hibernate";
|
||||
powerKey = "ignore";
|
||||
};
|
||||
|
||||
programs.auto-cpufreq.enable = true;
|
||||
services.tlp.enable = false;
|
||||
services.thermald.enable = true;
|
||||
|
||||
virtualisation.docker.enableOnBoot = false;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue