Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
3607c2ffb6
1 changed files with 14 additions and 10 deletions
|
@ -48,6 +48,10 @@
|
||||||
kernelParams = ["boot.shell_on_fail" "resume_offset=22816000"];
|
kernelParams = ["boot.shell_on_fail" "resume_offset=22816000"];
|
||||||
initrd.availableKernelModules = ["xhci_pci" "nvme" "ahci"];
|
initrd.availableKernelModules = ["xhci_pci" "nvme" "ahci"];
|
||||||
};
|
};
|
||||||
|
services.tlp = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
services.power-profiles-daemon.enable = false;
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
services.printing.enable = true; # I own a printer in the year of our Lord 2023
|
services.printing.enable = true; # I own a printer in the year of our Lord 2023
|
||||||
|
@ -80,16 +84,16 @@
|
||||||
# findmnt -no UUID -T /swap/swapfile
|
# findmnt -no UUID -T /swap/swapfile
|
||||||
boot.resumeDevice = "/dev/disk/by-uuid/aacd6814-a5a2-457a-bf65-8d970cb1f03d";
|
boot.resumeDevice = "/dev/disk/by-uuid/aacd6814-a5a2-457a-bf65-8d970cb1f03d";
|
||||||
|
|
||||||
services.logind = {
|
# services.logind = {
|
||||||
lidSwitch = "suspend-then-hibernate";
|
# lidSwitch = "suspend-then-hibernate";
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
HandlePowerKey=suspend-then-hibernate
|
# HandlePowerKey=suspend-then-hibernate
|
||||||
IdleAction=suspend-then-hibernate
|
# IdleAction=suspend-then-hibernate
|
||||||
IdleActionSec=10m
|
# IdleActionSec=10m
|
||||||
HandleLidSwitchDocked=ignore
|
# HandleLidSwitchDocked=ignore
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
systemd.sleep.extraConfig = "HibernateDelaySec=30m";
|
# systemd.sleep.extraConfig = "HibernateDelaySec=30m";
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
|
|
Loading…
Reference in a new issue