1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/google-drive.nix
Kierán Meinhardt b94da2d550 MASSIVE restructuring
2019-01-30 10:58:34 +01:00

16 lines
371 B
Nix

{ config, pkgs, ... }:
{
systemd.services.google-drive = {
description = "Google Drive synchronisation service";
wants = [ "network-online.target" ];
script = ''
${pkgs.grive2}/bin/grive -p ${config.users.users.kfm.home}/cloud/gdrive
'';
startAt = "*:0/5";
serviceConfig = {
Restart = "on-failure";
User = "kfm";
};
};
}