home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 40c1cba616fa90ecf54b2e68d7b016a7b18d0396
parent fed0b92aa4606308d8e00c548e8fe208c88e0b35
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 10 Jun 2024 12:22:06 +0200

hosts/sakhalin: disable ape service

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/sakhalin.nix | 22----------------------
Musers/vincent/core/default.nix | 2--
2 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/systems/hosts/sakhalin.nix b/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"; diff --git a/users/vincent/core/default.nix b/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;