1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

ssh: fix niveum systems; cloud: start on network online; niveum-deploy

This commit is contained in:
Kierán Meinhardt
2019-05-03 18:04:14 +02:00
parent 54b34b961c
commit 3794d7ce5f
4 changed files with 7 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ in
systemd.services.google-drive = {
description = "Google Drive synchronisation service";
wants = [ "network-online.target" ];
wantedBy = [ "network-online.target" ];
script = ''
${pkgs.grive2}/bin/grive -p ${cfg.directory}
'';

View File

@@ -24,7 +24,7 @@ in {
systemd.user.services.todoist-sync = {
enable = cfg.enable;
wants = [ "network-online.target" ];
wantedBy = [ "network-online.target" ];
startAt = "*:0/5";
script = ''${todoist}/bin/todoist sync'';
};