diff options
author | Kierán Meinhardt <kmein@posteo.de> | 2022-12-28 19:06:08 +0100 |
---|---|---|
committer | Kierán Meinhardt <kmein@posteo.de> | 2022-12-28 19:10:03 +0100 |
commit | cc29be2d206e1093e036ef619c08e6d536257760 (patch) | |
tree | 7a5a0dd22da0080d2eaf65856170a4e8380f8b94 /lass/1systems | |
parent | 48ee52673e79f46e53fbfd86a9258a1a106d8ffc (diff) |
l yellow.r: move to new deno port
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/yellow/config.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lass/1systems/yellow/config.nix b/lass/1systems/yellow/config.nix index f5071c4b7..52d7a0f1f 100644 --- a/lass/1systems/yellow/config.nix +++ b/lass/1systems/yellow/config.nix @@ -136,7 +136,15 @@ with import <stockholm/lib>; }; }; - systemd.services.bruellwuerfel = { + systemd.services.bruellwuerfel = + let + bruellwuerfelSrc = pkgs.fetchFromGitHub { + owner = "krebs"; + repo = "bruellwuerfel"; + rev = "dc73adf69249fb63a4b024f1f3fbc9e541b27015"; + sha256 = "078jp1gbavdp8lnwa09xa5m6bbbd05fi4x5ldkkgin5z04hwlhmd"; + }; + in { wantedBy = [ "multi-user.target" ]; environment = { IRC_CHANNEL = "#flix"; @@ -145,7 +153,7 @@ with import <stockholm/lib>; IRC_HISTORY_FILE = "/tmp/bruelli.history"; }; serviceConfig = { - ExecStart = "${pkgs.bruellwuerfel}/bin/bruellwuerfel"; + ExecStart = "${pkgs.deno}/bin/deno run -A ${bruellwuerfelSrc}/src/index.ts"; }; }; |