Commit fe4b557d4096
Changed files (2)
machine
machine/carthage.nix
@@ -20,4 +20,23 @@
];
time.timeZone = "Europe/Paris";
+ # ape – sync git mirrors
+ systemd.user.services.ape = {
+ description = "Ape - sync git mirrors";
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ Type = "oneshot";
+ ExecStart = "${pkgs.ape}/bin/ape up /home/vincent/mirrors/";
+ Environment = "PATH=/run/current-system/sw/bin/";
+ };
+ };
+ systemd.user.timers.ape = {
+ description = "Ape hourly";
+ wantedBy = [ "timers.target" ];
+ timerConfig = {
+ OnCalendar = "hourly";
+ Persistent = "true";
+ };
+ };
+ systemd.user.timers.ape.enable = true;
}
machine/kobe.nix
@@ -37,23 +37,4 @@
environment.systemPackages = with pkgs; [
ape
];
- # ape – sync git mirrors
- systemd.user.services.ape = {
- description = "Ape - sync git mirrors";
- wantedBy = [ "multi-user.target" ];
- serviceConfig = {
- Type = "oneshot";
- ExecStart = "${pkgs.ape}/bin/ape up /home/vincent/mirrors/";
- Environment = "PATH=/run/current-system/sw/bin/";
- };
- };
- systemd.user.timers.ape = {
- description = "Ape hourly";
- wantedBy = [ "timers.target" ];
- timerConfig = {
- OnCalendar = "hourly";
- Persistent = "true";
- };
- };
- systemd.user.timers.ape.enable = true;
}