Added nix to path

This commit is contained in:
Julien Malka 2021-12-25 13:00:07 +01:00
parent fec37cf294
commit 215dbf847b
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F

View file

@ -54,16 +54,6 @@ in
};
users.groups.droneserver = { };
#environment.etc.drone-runner-exec = {
# target = "drone-runner-exec/config";
# text = ''
# DRONE_RPC_PROTO=https
# DRONE_RPC_HOST=${cfg.nginx.subdomain}.julienmalka.me
# DRONE_RPC_SECRET=JIJ1pfTgJldCMAgKtGLOnbQE5e8oUPSo2DqlWayVLQFVXDe3898DYvixRiprddY1M
# DRONE_UI_USERNAME=root
# DRONE_UI_PASSWORD=root
# '';
#};
systemd.services.drone-runner-exec = {
description = "Drone Exec Runner";
@ -79,7 +69,7 @@ in
ExecStart = "${pkgs.drone-runner-exec}/bin/drone-runner-exec service run";
};
wantedBy = [ "multi-user.target" ];
path = [ pkgs.git pkgs.docker pkgs.docker-compose ];
path = [ pkgs.nixUnstable pkgs.git pkgs.docker pkgs.docker-compose ];
};
}