Commit 40c1cba616fa

Vincent Demeester <vincent@sbr.pm>
2024-06-10 12:22:06
hosts/sakhalin: disable ape service
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent fed0b92
Changed files (2)
systems
users
vincent
systems/hosts/sakhalin.nix
@@ -150,28 +150,6 @@ in
       OnFailure = "status-email-root@%n.service";
     };
   };
-  # ape – sync git mirrors
-  systemd.services.ape = {
-    description = "Ape - sync git mirrors";
-    requires = [ "network-online.target" ];
-    after = [ "network-online.target" ];
-
-    restartIfChanged = false;
-    unitConfig.X-StopOnRemoval = false;
-
-    serviceConfig = {
-      Type = "oneshot";
-      User = "vincent";
-      OnFailure = "status-email-root@%n.service";
-    };
-
-    path = with pkgs; [ git ];
-    script = ''
-      ${pkgs.my.ape}/bin/ape up /home/vincent/var/mirrors
-    '';
-
-    startAt = "hourly";
-  };
   # mr -i u daily
   systemd.services.mr = {
     description = "Update configs daily";
users/vincent/core/default.nix
@@ -42,8 +42,6 @@ in
   # (versionOlder nixosConfig.system.nixos.release "21.11");
   manual.manpages.enable = true;
 
-  # FIXME: remove this, we don't need `ape.conf' everywhere
-  xdg.configFile."ape.conf".source = ./ape/ape.conf;
   xdg.configFile."nixpkgs/config.nix".text = ''
     {
       allowUnfree = true;