From 7457bc42ccb0de548ebe9dd9bd4c16742c4ab3d9 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 25 Dec 2022 21:57:32 +0100 Subject: Attempt to add botcore-v4 as package Signed-off-by: TheArcaneBrony --- host/Rory-discordbots/configuration.nix | 2 ++ host/Rory-discordbots/services.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'host') diff --git a/host/Rory-discordbots/configuration.nix b/host/Rory-discordbots/configuration.nix index a7983ad..6e00cbf 100644 --- a/host/Rory-discordbots/configuration.nix +++ b/host/Rory-discordbots/configuration.nix @@ -4,6 +4,7 @@ imports = [ ../../modules/base-server.nix + ./services.nix ]; networking = { @@ -46,6 +47,7 @@ environment.systemPackages = with pkgs; [ dotnet-sdk_7 + botcore-v4.packages.x86_64-linux.default ]; diff --git a/host/Rory-discordbots/services.nix b/host/Rory-discordbots/services.nix index e2177d1..a1ef75f 100644 --- a/host/Rory-discordbots/services.nix +++ b/host/Rory-discordbots/services.nix @@ -1,7 +1,7 @@ { config, pkgs, lib, ... }: { - systemd.services."foo@" = { + systemd.services."botcore.bot@" = { description = "foo"; wantedBy = [ "multi-user.target" ]; serviceConfig = { -- cgit 1.4.1