mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
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" ]; };
|
||
|
};
|
||
|
}
|