mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
23 lines
396 B
Nix
23 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" ];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|