wip: add first olivetin tests
This commit is contained in:
parent
09946b885a
commit
e4fabdb3cb
3 changed files with 20 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./luanti.nix
|
||||
#./mods.nix
|
||||
./olivetin.nix
|
||||
./postgresql.nix
|
||||
];
|
||||
}
|
||||
|
|
19
modules/game/server/luanti/olivetin.nix
Normal file
19
modules/game/server/luanti/olivetin.nix
Normal file
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue