Start debugging sleep on rainbowdash
This commit is contained in:
parent
4a740fb642
commit
460045679e
|
@ -5,10 +5,7 @@
|
||||||
./wifi.nix
|
./wifi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services.upower.enable = true;
|
||||||
tlp.enable = true;
|
|
||||||
upower.enable = true;
|
|
||||||
};
|
|
||||||
programs.light.enable = true;
|
programs.light.enable = true;
|
||||||
users.users.artemis.extraGroups = [ "video" ];
|
users.users.artemis.extraGroups = [ "video" ];
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,14 @@
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
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;
|
kernel.sysctl."vm.swappiness" = 5;
|
||||||
cleanTmpDir = true;
|
cleanTmpDir = true;
|
||||||
blacklistedKernelModules = [ "psmouse" ];
|
blacklistedKernelModules = [ "psmouse" ];
|
||||||
|
|
|
@ -12,11 +12,15 @@
|
||||||
../../sets/1password.nix
|
../../sets/1password.nix
|
||||||
../../sets/workstation.nix
|
../../sets/workstation.nix
|
||||||
../../sets/krb5.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" ];
|
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 = {
|
||||||
|
@ -39,7 +43,6 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.thermald.enable = true;
|
|
||||||
|
|
||||||
networking.domain = "manehattan.artem.ist";
|
networking.domain = "manehattan.artem.ist";
|
||||||
networking.hostName = "rainbowdash";
|
networking.hostName = "rainbowdash";
|
||||||
|
|
Loading…
Reference in a new issue