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 --- flake.nix | 3 +++ host/Rory-discordbots/configuration.nix | 2 ++ host/Rory-discordbots/services.nix | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 19dd825..2cac161 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,9 @@ # closest you can get to following the channel with flakes. url = "github:NixOS/nixpkgs/nixos-unstable"; }; + botcore-v4 = { + url = "gitlab:BotCore-Devs/BotCore-v4/staging"; + }; }; # Outputs can be anything, but the wiki + some commands define their own 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