summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--flake.nix3
-rw-r--r--host/Rory-discordbots/configuration.nix2
-rw-r--r--host/Rory-discordbots/services.nix2
3 files changed, 6 insertions, 1 deletions
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 = {