mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 12:36:13 +01:00
519d7b3841
Signed-off-by: Magic_RB <magic_rb@redalder.org>
21 lines
434 B
Nix
21 lines
434 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" ]; };
|
|
};
|
|
}
|