diff --git a/modules/game/server/luanti/cleanup-and-pull.nix b/modules/game/server/luanti/cleanup-and-pull.nix deleted file mode 100644 index af5dd69..0000000 --- a/modules/game/server/luanti/cleanup-and-pull.nix +++ /dev/null @@ -1,3 +0,0 @@ -{pkgs, ...}: { - -} diff --git a/modules/game/server/luanti/default.nix b/modules/game/server/luanti/default.nix index 2ec6fbe..a6f8da3 100644 --- a/modules/game/server/luanti/default.nix +++ b/modules/game/server/luanti/default.nix @@ -2,6 +2,7 @@ imports = [ ./luanti.nix #./mods.nix + ./olivetin.nix ./postgresql.nix ]; } diff --git a/modules/game/server/luanti/olivetin.nix b/modules/game/server/luanti/olivetin.nix new file mode 100644 index 0000000..a1c989e --- /dev/null +++ b/modules/game/server/luanti/olivetin.nix @@ -0,0 +1,19 @@ +{ pkgs, ... }: { + services.olivetin = { + enable = true; + settings = { + actions = [ + { + title = "Hello world!"; + shell = "echo 'Hello World!'"; + popupOnStart = "execution-dialog-stdout-only"; + } + ]; + }; + + path = with pkgs; [ + bash + git + ]; + }; +}