Revert "Start debugging sleep on rainbowdash"

This reverts commit 460045679e.
This commit is contained in:
Artemis Tosini 2022-06-06 18:02:21 +00:00
parent 460045679e
commit 08fa3eab55
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 7 additions and 14 deletions

View file

@ -5,7 +5,10 @@
./wifi.nix ./wifi.nix
]; ];
services.upower.enable = true; services = {
tlp.enable = true;
upower.enable = true;
};
programs.light.enable = true; programs.light.enable = true;
users.users.artemis.extraGroups = [ "video" ]; users.users.artemis.extraGroups = [ "video" ];

View file

@ -3,14 +3,7 @@
{ {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ "mem_sleep_default=deep" "initcall_debug" ]; kernelParams = [ "mem_sleep_default=deep" ];
kernelPatches = [{
name = "debug_acpi";
patch = null;
extraConfig = ''
ACPI_DEBUG y
'';
}];
kernel.sysctl."vm.swappiness" = 5; kernel.sysctl."vm.swappiness" = 5;
cleanTmpDir = true; cleanTmpDir = true;
blacklistedKernelModules = [ "psmouse" ]; blacklistedKernelModules = [ "psmouse" ];

View file

@ -12,15 +12,11 @@
../../sets/1password.nix ../../sets/1password.nix
../../sets/workstation.nix ../../sets/workstation.nix
../../sets/krb5.nix ../../sets/krb5.nix
inputs.nixos-hardware.nixosModules.common-cpu-intel inputs.nixos-hardware.nixosModules.dell-xps-13-9380
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-acpi_call
]; ];
boot.supportedFilesystems = [ "nfs4" ]; boot.supportedFilesystems = [ "nfs4" ];
services.throttled.enable = true;
# Home # Home
home-manager.users.artemis = { home-manager.users.artemis = {
wayland.windowManager.sway.config = { wayland.windowManager.sway.config = {
@ -43,6 +39,7 @@
''; '';
}; };
services.thermald.enable = true;
networking.domain = "manehattan.artem.ist"; networking.domain = "manehattan.artem.ist";
networking.hostName = "rainbowdash"; networking.hostName = "rainbowdash";