diff --git a/hosts/x86_64-linux/helium.nix b/hosts/x86_64-linux/helium.nix index e25c689..8e15133 100644 --- a/hosts/x86_64-linux/helium.nix +++ b/hosts/x86_64-linux/helium.nix @@ -23,7 +23,6 @@ amdLaptop.enable = true; monitors.enable = true; }; - platform.hibernate.enable = true; services = { nixCacheClient = { enable = true; @@ -33,10 +32,6 @@ }; system.stateVersion = "23.11"; - boot = { - resumeDevice = "/dev/mapper/luks-f6e1979b-0dee-4ee9-8170-10490019854b"; - kernelParams = [ "resume_offset=44537856" ]; - }; services.xserver.displayManager.setupCommands = '' ${pkgs.xorg.xrandr}/bin/xrandr --output DP-1 --auto --pos 0x0 --primary --output eDP-1 --auto --pos 3840x360 ''; diff --git a/modules/platform/hibernate.nix b/modules/platform/hibernate.nix deleted file mode 100644 index 9680868..0000000 --- a/modules/platform/hibernate.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.custom.platform.hibernate; -in -{ - options.custom.platform.hibernate.enable = lib.mkOption { - type = lib.types.bool; - default = false; - }; - - config = lib.mkIf cfg.enable { - swapDevices = [ - { - device = "/var/lib/swapfile"; - size = 16 * 1024; - } - ]; - - boot = { - resumeDevice = lib.mkDefault "/dev/mapper/nixos"; - }; - }; -} diff --git a/modules/programs/embedded/i3.conf b/modules/programs/embedded/i3.conf index 17eae00..d781665 100644 --- a/modules/programs/embedded/i3.conf +++ b/modules/programs/embedded/i3.conf @@ -85,7 +85,6 @@ pkgs.writeText "i3-conf" '' mode "$mode_system" { bindsym l exec --no-startup-id i3lock, mode "default" bindsym s exec --no-startup-id "i3lock; systemctl suspend", mode "default" - bindsym h exec --no-startup-id systemctl hibernate, mode "default" bindsym r exec --no-startup-id systemctl reboot, mode "default" bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default" bindsym Return mode "default"