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
];
services.upower.enable = true;
services = {
tlp.enable = true;
upower.enable = true;
};
programs.light.enable = true;
users.users.artemis.extraGroups = [ "video" ];

View file

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

View file

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