europa: reinstall without zfs, enable logind lid switch

This commit is contained in:
Aaron Bieber 2022-09-07 10:02:56 -06:00
parent 31970b6541
commit d8d2d06476
No known key found for this signature in database

View File

@ -52,7 +52,10 @@ in {
extraModulePackages = [ ];
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
};
kernelPackages = pkgs.linuxPackages;
kernelParams = [ "boot.shell_on_fail" ];
@ -154,21 +157,21 @@ in {
];
};
fprintd.enable = true;
#logind = {
# lidSwitch = "suspend-then-hibernate";
# lidSwitchExternalPower = "lock";
#};
logind = {
lidSwitch = "suspend-then-hibernate";
lidSwitchExternalPower = "lock";
};
fstrim.enable = true;
tlp = {
enable = false;
settings = {
CPU_BOOST_ON_BAT = 0;
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
START_CHARGE_THRESH_BAT0 = 90;
STOP_CHARGE_THRESH_BAT0 = 97;
RUNTIME_PM_ON_BAT = "auto";
};
};
#tlp = {
# enable = false;
# settings = {
# CPU_BOOST_ON_BAT = 0;
# CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
# START_CHARGE_THRESH_BAT0 = 90;
# STOP_CHARGE_THRESH_BAT0 = 97;
# RUNTIME_PM_ON_BAT = "auto";
# };
#};
fwupd = {
enable = true;
enableTestRemote = true;
@ -216,4 +219,3 @@ in {
system.stateVersion = "21.11";
}