Start debugging sleep on rainbowdash
This commit is contained in:
parent
4a740fb642
commit
460045679e
|
@ -5,10 +5,7 @@
|
|||
./wifi.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
tlp.enable = true;
|
||||
upower.enable = true;
|
||||
};
|
||||
services.upower.enable = true;
|
||||
programs.light.enable = true;
|
||||
users.users.artemis.extraGroups = [ "video" ];
|
||||
|
||||
|
|
|
@ -3,7 +3,14 @@
|
|||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelParams = [ "mem_sleep_default=deep" ];
|
||||
kernelParams = [ "mem_sleep_default=deep" "initcall_debug" ];
|
||||
kernelPatches = [{
|
||||
name = "debug_acpi";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
ACPI_DEBUG y
|
||||
'';
|
||||
}];
|
||||
kernel.sysctl."vm.swappiness" = 5;
|
||||
cleanTmpDir = true;
|
||||
blacklistedKernelModules = [ "psmouse" ];
|
||||
|
|
|
@ -12,11 +12,15 @@
|
|||
../../sets/1password.nix
|
||||
../../sets/workstation.nix
|
||||
../../sets/krb5.nix
|
||||
inputs.nixos-hardware.nixosModules.dell-xps-13-9380
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop-acpi_call
|
||||
];
|
||||
|
||||
boot.supportedFilesystems = [ "nfs4" ];
|
||||
|
||||
services.throttled.enable = true;
|
||||
|
||||
# Home
|
||||
home-manager.users.artemis = {
|
||||
wayland.windowManager.sway.config = {
|
||||
|
@ -39,7 +43,6 @@
|
|||
'';
|
||||
};
|
||||
|
||||
services.thermald.enable = true;
|
||||
|
||||
networking.domain = "manehattan.artem.ist";
|
||||
networking.hostName = "rainbowdash";
|
||||
|
|
Loading…
Reference in a new issue