wow
This commit is contained in:
parent
c40b87be20
commit
fb7b785ae7
5 changed files with 149 additions and 239 deletions
|
|
@ -21,7 +21,6 @@
|
|||
"${inputs.self}/modules/home/devtool/neovim.nix"
|
||||
"${inputs.self}/modules/home/devtool/ghostty.nix"
|
||||
"${inputs.self}/modules/home/devtool/zed.nix"
|
||||
"${inputs.self}/modules/home/firefox-devedition.nix"
|
||||
./config/git.nix
|
||||
./config/shell.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -11,9 +11,6 @@
|
|||
"signal"
|
||||
"zoom"
|
||||
|
||||
# Browsers
|
||||
"firefox@developer-edition"
|
||||
|
||||
# Productivity and design
|
||||
"camo-studio"
|
||||
"proton-drive"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ nixpkgs.lib.nixosSystem {
|
|||
# ./services/attic.nix
|
||||
./services/caddy.nix
|
||||
./services/forgejo-runner.nix
|
||||
./services/limbo.nix
|
||||
./services/stream.nix
|
||||
# ./services/harmonia.nix
|
||||
./configuration.nix
|
||||
|
|
|
|||
24
hosts/server/natsu/services/limbo.nix
Normal file
24
hosts/server/natsu/services/limbo.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
systemd.services.limbo = {
|
||||
description = "Minecraft Limbo Server";
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "imnyang";
|
||||
Group = "users";
|
||||
WorkingDirectory = "/home/imnyang/minecraft/limbo";
|
||||
ExecStart = "/home/imnyang/minecraft/limbo/pico_limbo --config /home/imnyang/minecraft/limbo/server.toml";
|
||||
Restart = "always";
|
||||
RestartSec = 5;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
25565
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue