Benjamin Bädorf
4c0991c7e1
Hibernation is now a core option: ``` pub-solar.core.hibernation.enable = true; ``` And there's a paranoia mode, that keeps the disk encrypted as much as possible by enabling hibernation and removing the options for sleep, screen locking. Idle locking now hibernates, and it does it on very short notice.
20 lines
505 B
Nix
20 lines
505 B
Nix
{ pkgs, ... }:
|
|
{
|
|
Unit = {
|
|
Description = "Actions gestures on your touchpad using libinput";
|
|
Documentation = [ "https://github.com/bulletmark/libinput-gestures" ];
|
|
BindsTo = [ "sway-session.target" ];
|
|
After = [ "sway-session.target" ];
|
|
};
|
|
Service = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.libinput-gestures}/bin/libinput-gestures";
|
|
Restart = "on-failure";
|
|
RestartSec = "1";
|
|
TimeoutStopSec = "10";
|
|
};
|
|
Install = {
|
|
WantedBy = [ "sway-session.target" ];
|
|
};
|
|
}
|