Odin: better logind
This commit is contained in:
parent
46dc6ffe9d
commit
038cf6c333
1 changed files with 7 additions and 5 deletions
|
|
@ -11,7 +11,8 @@
|
|||
# Use the systemd-boot EFI boot loader.
|
||||
boot = {
|
||||
# kernelPackages = pkgs.linuxPackages_latest;
|
||||
# kernelPackages = pkgs.linuxPackages_6_1;
|
||||
# kernelPackages = pkgs.linuxPackages_6_7_hardened;
|
||||
kernelPackages = pkgs.linuxPackages_6_7;
|
||||
kernelParams = [ "acpi_osi=Linux-Dell-Video" ];
|
||||
initrd.checkJournalingFS = true; # Use same ACPI identifier as Dell Ubuntu
|
||||
loader = { systemd-boot = { enable = true; editor = false; }; efi.canTouchEfiVariables = true; };
|
||||
|
|
@ -143,10 +144,11 @@
|
|||
};
|
||||
|
||||
# Disable auto handling of power button
|
||||
logind.extraConfig = ''
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
|
||||
logind = {
|
||||
powerKey = "ignore";
|
||||
lidSwitchExternalPower = "ignore";
|
||||
lidSwitch = "hibernate";
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue