added new scx

This commit is contained in:
2026-03-20 00:45:40 +00:00
parent d202d116c0
commit 5d01659350
2 changed files with 27 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
den,
modules,
__findFile,
inputs,
lib,
...
}:
@@ -34,7 +35,9 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# boot.kernelPackages = pkgs.linuxPackages_6_12; # Hibernate works on 6.12 but not on latest
boot.kernelPackages = pkgs.linuxPackages_latest; # Unpinned the linux version for now.. as i am not using hibernate that often
# boot.kernelPackages = pkgs.linuxPackages_latest; # Unpinned the linux version for now.. as i am not using hibernate that often
boot.kernelPackages =
inputs.nix-cachyos-kernel.legacyPackages.x86_64-linux.linuxPackages-cachyos-lts-lto;
networking.hostName = "doloro-nixos-laptop"; # Define your hostname.
security.rtkit.enable = true;
@@ -147,7 +150,7 @@
];
services.logind.settings.Login = {
HandleLidSwitch = "suspend";
HandleLidSwitch = "hibernate";
HandleLidSwitchExternalPower = "suspend";
HandleLidSwitchDocked = "ignore";
};