nix-config/home/_mixins/desktop/localsend.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

22 lines
396 B
Nix

{ 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" ];
};
};
};
}