mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-11 17:33:56 -05:00
general cleanup
This commit is contained in:
parent
b602fc4ee0
commit
7fd4c88056
8 changed files with 44 additions and 53 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue