summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-25 21:57:32 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-12-25 21:57:32 +0100
commit7457bc42ccb0de548ebe9dd9bd4c16742c4ab3d9 (patch)
treee707e94953b7b14ee1189f110795404137cdbc34
parentDisable grub timeout, change discordbots hostname (diff)
downloadRory-Open-Architecture-7457bc42ccb0de548ebe9dd9bd4c16742c4ab3d9.tar.xz
Attempt to add botcore-v4 as package
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
-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 = {