diff --git a/modules/users/crow/user.nix b/modules/users/crow/user.nix index 1500bed..b35a624 100644 --- a/modules/users/crow/user.nix +++ b/modules/users/crow/user.nix @@ -16,18 +16,10 @@ path = [ pkgs.git ]; - script = "cd /home/crow/Notes\ngit add .\ngit commit -am 'automatic backup'\ngit push"; - }; - config.systemd.timers.note_sync = { - enable = true; - description = "Timer to autosync notes"; - timerConfig = { - OnCalendar = "*:0/5"; - Persistent = true; - }; - wantedBy = [ - "timers.target" + startAt = [ + "*:0/5" ]; + script = "cd /home/crow/Notes\ngit add .\ngit commit -am 'automatic backup'\ngit push"; }; config.home-manager.users.crow = lib.mkIf config.users.crow.home.enable ./home.nix;