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

small changes

+ google-drive timer
~ i3lock: light-locker
+ httpie
~ cloc: tokei
This commit is contained in:
Kierán Meinhardt
2019-01-28 22:23:57 +01:00
parent 93d9e1d9b0
commit de70d77478
4 changed files with 18 additions and 7 deletions

View File

@@ -58,11 +58,18 @@ in {
shell = pkgs.zsh;
};
services.cron = {
enable = true;
systemCronJobs = [
"0 * * * * ${pkgs.grive2}/bin/grive -p ${config.users.users.kfm.home}/cloud/gdrive"
];
systemd.user.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
'';
serviceConfig.Restart = "on-failure";
};
systemd.user.timers.google-drive = {
wantedBy = [ "timers.target" ];
timerConfig.OnUnitActiveSec = "5minutes";
};
programs.tmux = {