nixos/hosts/gerg-desktop/services/parrot.nix
2024-03-28 14:38:25 -04:00

22 lines
428 B
Nix

_:
{
pkgs,
config,
lib,
...
}:
{
sops.secrets.discordenv = { };
systemd.services.parrot = {
#wantedBy = [ "multi-user.target" ];
#wants = [ "network-online.target" ];
#after = [ "network-online.target" ];
script = lib.getExe pkgs.parrot;
serviceConfig = {
EnvironmentFile = config.sops.secrets.discordenv.path;
Restart = "on-failure";
RestartSec = "30s";
};
};
#_file
}