feat(skadi): add lnxlink.
This commit is contained in:
parent
cfbfe09152
commit
6cefec7b26
3 changed files with 216 additions and 47 deletions
|
|
@ -58,6 +58,28 @@
|
|||
# crony.emacs.enable = true;
|
||||
crony.zen-browser.enable = true;
|
||||
|
||||
home.packages = [
|
||||
inputs.lnxlink.packages.${pkgs.system}.default
|
||||
];
|
||||
|
||||
systemd.user.services.lnxlink = {
|
||||
Unit = {
|
||||
Description = "LNXLlink";
|
||||
After = ["network-online.target" "mutli-user.target" "graphical.target"];
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
Install = {
|
||||
WantedBy = ["default.target"];
|
||||
};
|
||||
Service = {
|
||||
WorkingDirectory = "/home/crony/.config/lnxlink";
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
RestartSec = 5;
|
||||
ExecStart = "${inputs.lnxlink.packages.${pkgs.system}.default}/bin/lnxlink --config /home/crony/.config/lnxlink/config.yaml";
|
||||
};
|
||||
};
|
||||
|
||||
# DO NOT CHANGE ALSO
|
||||
home.stateVersion = "24.11"; # Please read the comment before changing.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue