Better folder structure

This commit is contained in:
Filippo Berto 2022-08-12 09:09:29 +02:00
parent 8778fa8ccb
commit c4e5ccf6bf
75 changed files with 174 additions and 172 deletions

View file

@ -0,0 +1,21 @@
{ 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" ];
};
};
}