nix-config/home/_mixins/desktop/localsend.nix

23 lines
396 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
# https://localsend.org/
home.packages = with pkgs; [
localsend
];
systemd.user.services = {
localsend = {
Unit = {
Description = "LocalSend";
};
Service = {
ExecStart = "${pkgs.localsend}/bin/localsend";
Restart = "on-failure";
};
Install = {
WantedBy = [ "default.target" ];
};
};
};
}