1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

MASSIVE restructuring

This commit is contained in:
Kierán Meinhardt
2019-01-30 10:58:34 +01:00
parent bc05f2e736
commit b94da2d550
23 changed files with 504 additions and 418 deletions

15
configs/google-drive.nix Normal file
View File

@@ -0,0 +1,15 @@
{ 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";
};
};
}