this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: systemd user service to sync notes

Khue Doan 62340343 dd4b12c4

+25
+25
users/khuedoan/default.nix
··· 103 103 services = { 104 104 easyeffects.enable = true; 105 105 }; 106 + systemd.user = { 107 + services.sync-notes = { 108 + Unit = { 109 + Description = "Sync notes"; 110 + }; 111 + Service = { 112 + Type = "oneshot"; 113 + WorkingDirectory = "%h/Documents/notes"; 114 + Environment = "PATH=/run/current-system/sw/bin:/usr/bin:/bin"; 115 + ExecStart = "make sync"; 116 + }; 117 + }; 118 + timers.sync-notes = { 119 + Unit = { 120 + Description = "Sync notes every 5 minutes"; 121 + }; 122 + Timer = { 123 + OnUnitActiveSec = "5min"; 124 + Persistent = true; 125 + }; 126 + Install = { 127 + WantedBy = [ "timers.target" ]; 128 + }; 129 + }; 130 + }; 106 131 home.pointerCursor = { 107 132 name = "Adwaita"; 108 133 package = pkgs.adwaita-icon-theme;