Move HM modules

This commit is contained in:
Filippo Berto 2023-07-19 10:42:09 +01:00
parent 5db76d0fed
commit 3cf0004b78
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
110 changed files with 403 additions and 564 deletions

View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
let joystickwakeCmd = "${pkgs.joystickwake}/bin/joystickwake";
in {
systemd.user.services."joystickwake" = {
Unit = {
Description = "Keep lockscreen from activating";
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};
Install = { WantedBy = [ "graphical-session.target" ]; };
Service = {
Type = "simple";
ExecStart = joystickwakeCmd;
Environment = [ "DISPLAY=:0" ];
};
};
}