mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 08:46:25 +00:00
22 lines
376 B
Nix
22 lines
376 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home.packages = with pkgs; [
|
|
borgbackup
|
|
vorta
|
|
];
|
|
|
|
systemd.user.services = {
|
|
vorta = {
|
|
Unit = {
|
|
Description = "Vorta";
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.vorta}/bin/vorta --daemonise";
|
|
Restart = "on-failure";
|
|
};
|
|
Install = {
|
|
WantedBy = [ "default.target" ];
|
|
};
|
|
};
|
|
};
|
|
}
|