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:
17
config.nix
17
config.nix
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user