general cleanup

This commit is contained in:
Gerg-L 2023-06-18 09:29:08 -04:00
parent b602fc4ee0
commit 7fd4c88056
8 changed files with 44 additions and 53 deletions

View file

@ -2,6 +2,7 @@
pkgs,
config,
self,
lib,
...
}: {
#discord bot stuff
@ -10,7 +11,7 @@
wantedBy = ["multi-user.target"];
wants = ["network-online.target"];
after = ["network-online.target"];
script = "${self.packages.${pkgs.system}.parrot}/bin/parrot";
script = lib.getExe self.packages.${pkgs.system}.parrot;
serviceConfig = {
EnvironmentFile = config.sops.secrets.discordenv.path;
Restart = "on-failure";