mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 13:06:11 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
20 lines
424 B
Nix
20 lines
424 B
Nix
{pkgs, ...}: {
|
|
home.file.".keynavrc".source = ./keynavrc;
|
|
|
|
systemd.user.services.keynav = {
|
|
Unit = {
|
|
Description = "keynav";
|
|
After = ["graphical-session-pre.target"];
|
|
PartOf = ["graphical-session.target"];
|
|
};
|
|
|
|
Service = {
|
|
ExecStart = "${pkgs.keynav}/bin/keynav";
|
|
RestartSec = 3;
|
|
Restart = "always";
|
|
};
|
|
|
|
Install = {WantedBy = ["graphical-session.target"];};
|
|
};
|
|
}
|